Commit f6587cd6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix MacOS build

parent d8325077
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
#include <dlfcn.h> #include <dlfcn.h>
#include <mach-o/dyld.h> #include <mach-o/dyld.h>
#ifndef MAXPATHLEN
# define MAXPATHLEN 1024
#endif
static char *configdir = NULL; static char *configdir = NULL;
static pthread_once_t once = PTHREAD_ONCE_INIT; static pthread_once_t once = PTHREAD_ONCE_INIT;
......
...@@ -37,10 +37,6 @@ ...@@ -37,10 +37,6 @@
# include <locale.h> # include <locale.h>
#endif #endif
#ifndef MAXPATHLEN
# define MAXPATHLEN 1024
#endif
/***************************************************************************** /*****************************************************************************
* system_Init: fill in program path & retrieve language * system_Init: fill in program path & retrieve language
*****************************************************************************/ *****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment