Commit dd276070 authored by unknown's avatar unknown
Browse files

Bug#16574 Patch to compile on GNU/Hurd (PATH_MAX limit not existing)

 - Define MAX_PATH if not already defined by system header files.
 - Thanks to Christian for the report and patch!


ndb/include/ndb_global.h.in:
  PATH_MAX is defined in ndb_global.h for "sco", remove the conditional define for sco
  so it thakes effect as soon as MAX_PATH is not available
parent d2f447a9
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -128,12 +128,8 @@ extern "C" {

#include "ndb_init.h"

#ifdef SCO

#ifndef PATH_MAX
#define PATH_MAX 1024
#endif

#endif /* SCO */

#endif