vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Tue Jan 24 
21:05:22 2012 +0200| [f6587cd61c91fbc3ec8fc055ee907df17bd30b2a] | committer: 
Rémi Denis-Courmont

Fix MacOS build

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6587cd61c91fbc3ec8fc055ee907df17bd30b2a
---

 src/posix/darwin_dirs.c     |    4 ++++
 src/posix/darwin_specific.c |    4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/posix/darwin_dirs.c b/src/posix/darwin_dirs.c
index b809449..6fc5d87 100644
--- a/src/posix/darwin_dirs.c
+++ b/src/posix/darwin_dirs.c
@@ -39,6 +39,10 @@
 #include <dlfcn.h>
 #include <mach-o/dyld.h>
 
+#ifndef MAXPATHLEN
+# define MAXPATHLEN 1024
+#endif
+
 static char *configdir = NULL;
 
 static pthread_once_t once = PTHREAD_ONCE_INIT;
diff --git a/src/posix/darwin_specific.c b/src/posix/darwin_specific.c
index 50f20be..ce11a88 100644
--- a/src/posix/darwin_specific.c
+++ b/src/posix/darwin_specific.c
@@ -37,10 +37,6 @@
 #   include <locale.h>
 #endif
 
-#ifndef MAXPATHLEN
-# define MAXPATHLEN 1024
-#endif
-
 /*****************************************************************************
  * system_Init: fill in program path & retrieve language
  *****************************************************************************/

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to