// headers
// ---------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "hid.h"
#endif
#pragma hdrstop
#endif
-#ifndef WX_PRECOMP
- #include "wx/defs.h"
-#endif
-
-
//DARWIN _ONLY_
#ifdef __DARWIN__
//Now get the maching services
io_iterator_t pIterator;
wxIOCHECK(IOServiceGetMatchingServices(m_pPort, pDictionary, &pIterator), "No Matching HID Services");
- wxASSERT(pIterator != NULL);
+ wxASSERT(pIterator != 0);
//Now we iterate through them
io_object_t pObject;
- while ( (pObject = IOIteratorNext(pIterator)) != NULL)
+ while ( (pObject = IOIteratorNext(pIterator)) != 0)
{
wxVERIFY(IORegistryEntryCreateCFProperties(pObject, &pDictionary,
kCFAllocatorDefault, kNilOptions) == KERN_SUCCESS);