Created
September 28, 2011 21:17
-
-
Save 2bits/1249277 to your computer and use it in GitHub Desktop.
flac-1.2.1/config.h Patch for 32 vs 64 SIZEOF_VOIDP on Mac OSX universal builds, from Macports/Fink
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config.h b/config.h | |
index 4ea0e2c..27fcf18 100644 | |
--- a/config.h | |
+++ b/config.h | |
@@ -113,7 +113,11 @@ | |
#define PACKAGE_VERSION "" | |
/* The size of a `void*', as computed by sizeof. */ | |
+#ifdef __LP64__ | |
#define SIZEOF_VOIDP 8 | |
+#else | |
+#define SIZEOF_VOIDP 4 | |
+#endif | |
/* Define to 1 if you have the ANSI C header files. */ | |
#define STDC_HEADERS 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment