Bug 223900 GRE Bustage (AIX, BEOS)

"/usr/include/sys/param.h", line 91.9: 1540-0848 (S) The macro name "MAXPATHLEN" is already defined with a diff
erent definition.
 "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.h", line 47.
9: 1540-0425 (I) "MAXPATHLEN" is defined on line 47 of "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpco
m/glue/standalone/nsGREDirServiceProvider.cpp".
 gmake[5]: *** [nsGREDirServiceProvider.o] Error 1
This commit is contained in:
timeless%mozdev.org 2003-11-17 10:25:46 +00:00
Родитель d8323ba73f
Коммит 9ac3b062e8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -38,6 +38,8 @@
#ifndef nsGREDirServiceProvider_h_ #ifndef nsGREDirServiceProvider_h_
#define nsGREDirServiceProvider_h_ #define nsGREDirServiceProvider_h_
#include "nsIDirectoryService.h"
#ifndef MAXPATHLEN #ifndef MAXPATHLEN
#ifdef _MAX_PATH #ifdef _MAX_PATH
#define MAXPATHLEN _MAX_PATH #define MAXPATHLEN _MAX_PATH
@ -48,8 +50,6 @@
#endif #endif
#endif #endif
#include "nsIDirectoryService.h"
/** /**
* the directoryserviceprovider used by GRE_Startup when calling NS_InitXPCOM2 * the directoryserviceprovider used by GRE_Startup when calling NS_InitXPCOM2
*/ */