]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IODataQueue.h
xnu-6153.121.1.tar.gz
[apple/xnu.git] / iokit / IOKit / IODataQueue.h
index c7de3c5febf3ea46c38cee4fdaaaa8b111a468b2..c16d03fa2f089ba282312c9f1ea1805b6ddf5ce7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1998-2019 Apple Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  *
@@ -46,6 +46,14 @@ struct _notifyMsg {
        mach_msg_header_t h;
 };
 
+
+#ifdef dequeue
+#undef dequeue
+#endif
+#ifdef enqueue
+#undef enqueue
+#endif
+
 /*!
  * @class IODataQueue : public OSObject
  * @abstract A generic queue designed to pass data from the kernel to a user process.
@@ -65,7 +73,7 @@ class __attribute__((deprecated)) IODataQueue: public OSObject
 class IODataQueue : public OSObject
 #endif
 {
-       OSDeclareDefaultStructors(IODataQueue)
+       OSDeclareDefaultStructors(IODataQueue);
 
 protected:
        IODataQueueMemory * dataQueue;