summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0-devel/files/patch-i64762
blob: 70b535dd070c9a3f8c3e95068de2d2aeed6c2e5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: sal/osl/unx/security.c
===================================================================
RCS file: /cvs/porting/sal/osl/unx/security.c,v
retrieving revision 1.18
diff -u -r1.18 security.c
--- sal/osl/unx/security.c	20 Apr 2006 16:24:05 -0000	1.18
+++ sal/osl/unx/security.c	25 Apr 2006 21:35:23 -0000
@@ -57,6 +57,11 @@
 #define PAM_BINARY_MSG 6
 #endif
 
+#include <stdint.h> //C99 contains SIZE_MAX
+#ifndef SIZE_MAX 
+#define SIZE_MAX (sizeof (size_t) -1)
+#endif
+
 extern oslModule SAL_CALL osl_psz_loadModule(const sal_Char *pszModuleName, sal_Int32 nRtldMode);
 extern void* SAL_CALL osl_psz_getSymbol(oslModule hModule, const sal_Char* pszSymbolName);
 static oslSecurityError SAL_CALL