[vlc-commits] HAVE_WIN32 -> WIN32
Rafaël Carré
git at videolan.org
Thu Sep 22 15:50:03 CEST 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Sep 22 09:49:01 2011 -0400| [7fe3a136b1d72d2b4157cae635666b1d99b144e4] | committer: Rafaël Carré
HAVE_WIN32 -> WIN32
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fe3a136b1d72d2b4157cae635666b1d99b144e4
---
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 db08691..69974f4 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(HAVE_WIN32)
+#elif defined(HAVE_MEMALIGN) || defined(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(HAVE_WIN32)
+#elif defined(WIN32)
base = __mingw_aligned_malloc(size, align);
#else
# error Unimplemented!
More information about the vlc-commits
mailing list