diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 14:59:43 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-09-20 14:59:43 +0000 |
commit | 210ef0bacf1336b7e1d79691372f3474615e8e4f (patch) | |
tree | eebab44fbe6cc83dfc45685da7246c5118cd4c44 /soltools | |
parent | INTEGRATION: CWS os2port01 (1.3.34); FILE MERGED (diff) | |
download | core-210ef0bacf1336b7e1d79691372f3474615e8e4f.tar.gz core-210ef0bacf1336b7e1d79691372f3474615e8e4f.zip |
INTEGRATION: CWS os2port01 (1.10.12); FILE MERGED
2007/08/13 11:18:40 obr 1.10.12.2: RESYNC: (1.10-1.15); FILE MERGED
2006/12/28 15:05:49 ydario 1.10.12.1: OS/2 initial import.
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/ldump/ldump.cxx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/soltools/ldump/ldump.cxx b/soltools/ldump/ldump.cxx index 317729cdf64a..18863cf5c2e3 100644 --- a/soltools/ldump/ldump.cxx +++ b/soltools/ldump/ldump.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ldump.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: hr $ $Date: 2007-06-27 17:46:28 $ + * last change: $Author: vg $ $Date: 2007-09-20 15:59:43 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -526,9 +526,17 @@ bool LibDump::CheckDataBase() char *pTmp = "defs\\"; FILE *fp; +#ifdef OS2 + _mkdir ("defs", 0777); +#else _mkdir ("defs"); +#endif strcpy(cBName,pTmp); +#ifdef OS2 + strcat(cBName,"gcc"); +#else strcat(cBName,getenv ("COMP_ENV")); +#endif fp = fopen (cBName,"r"); if (fp) @@ -620,8 +628,9 @@ void usage() #define STATE_FILTER 0x0002 #define STATE_CEXPORT 0x0003 +int #ifdef WNT -int __cdecl +__cdecl #endif main( int argc, char **argv ) { |