ports/audio/mac/patches/patch-Shared_NoWindows_h

16 lines
303 B
Text

Index: Shared/NoWindows.h
--- Shared/NoWindows.h.orig
+++ Shared/NoWindows.h
@@ -38,8 +38,12 @@ typedef struct _GUID {
#undef ZeroMemory
#define ZeroMemory(POINTER, BYTES) memset(POINTER, 0, BYTES);
+#ifndef TRUE
#define TRUE 1
+#endif
+#ifndef FALSE
#define FALSE 0
+#endif
#define CALLBACK