summaryrefslogtreecommitdiff
path: root/odk/source/unoapploader
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-12 06:40:56 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-12 06:40:56 +0000
commitfe8740a04d190202799149a792745042da3ce373 (patch)
treeedec3e398c138ae13a9ec3a6bb27ede71a23a973 /odk/source/unoapploader
parent5433e8263d1fc1da8e90ce8cd3f41ae8e3283ba3 (diff)
#i90609# SIZE_MAX undeclared for .Net2003 compiler, take SAL_MAX_SIZE instead.
Diffstat (limited to 'odk/source/unoapploader')
-rw-r--r--odk/source/unoapploader/win/unoapploader.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/odk/source/unoapploader/win/unoapploader.c b/odk/source/unoapploader/win/unoapploader.c
index 535469240476..3ee0aa96f15a 100644
--- a/odk/source/unoapploader/win/unoapploader.c
+++ b/odk/source/unoapploader/win/unoapploader.c
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unoapploader.c,v $
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This file is part of OpenOffice.org.
*
@@ -42,6 +42,7 @@
#endif
#include "cppuhelper/findsofficepath.h"
+#include "sal/types.h"
#define MY_LENGTH(s) (sizeof (s) / sizeof *(s) - 1)
@@ -175,7 +176,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
}
k += m;
if (k >= n) {
- if (n >= SIZE_MAX / 2) {
+ if (n >= SAL_MAX_SIZE / 2) {
writeError(
"Error: out of memory reading unoinfo output!\n");
closeErrorFile();