[vlc-commits] Revert "HAVE_WIN32 -> WIN32"
Rafaël Carré
git at videolan.org
Sun Sep 25 05:25:04 CEST 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Sep 24 20:27:38 2011 -0400| [3e27dab673c1c24970704e25a58ffbf8afce3443] | committer: Rafaël Carré
Revert "HAVE_WIN32 -> WIN32"
This reverts commit 7fe3a136b1d72d2b4157cae635666b1d99b144e4.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e27dab673c1c24970704e25a58ffbf8afce3443
---
src/extras/libc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/extras/libc.c b/src/extras/libc.c
index 69974f4..db08691 100644
--- a/src/extras/libc.c
+++ b/src/extras/libc.c
@@ -34,7 +34,7 @@
#if defined(HAVE_POSIX_MEMALIGN)
# include <stdlib.h>
-#elif defined(HAVE_MEMALIGN) || defined(WIN32)
+#elif defined(HAVE_MEMALIGN) || defined(HAVE_WIN32)
# include <malloc.h>
#endif
@@ -434,7 +434,7 @@ void *vlc_memalign(size_t align, size_t size)
base = NULL;
#elif defined(HAVE_MEMALIGN)
base = memalign(align, size);
-#elif defined(WIN32)
+#elif defined(HAVE_WIN32)
base = __mingw_aligned_malloc(size, align);
#else
# error Unimplemented!
More information about the vlc-commits
mailing list