diff options
| author | Mateusz Loskot <mateusz@loskot.net> | 2006-11-17 22:16:33 +0000 |
|---|---|---|
| committer | Mateusz Loskot <mateusz@loskot.net> | 2006-11-17 22:16:33 +0000 |
| commit | 6209aa6374a226cc889b4578a505b91f3ec0ec7e (patch) | |
| tree | 0462efa230657ce32f0b10a1c9819606227ebe3d /src/nad_init.c | |
| parent | b28c3691de529a27198f56f5c4c470ff53249d97 (diff) | |
| download | PROJ-6209aa6374a226cc889b4578a505b91f3ec0ec7e.tar.gz PROJ-6209aa6374a226cc889b4578a505b91f3ec0ec7e.zip | |
Uploaded PROJ.4 port for Windows CE.
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1377 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/nad_init.c')
| -rw-r--r-- | src/nad_init.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/nad_init.c b/src/nad_init.c index f582b747..936bada5 100644 --- a/src/nad_init.c +++ b/src/nad_init.c @@ -28,6 +28,9 @@ ****************************************************************************** * * $Log$ + * Revision 1.9 2006/11/17 22:16:30 mloskot + * Uploaded PROJ.4 port for Windows CE. + * * Revision 1.8 2003/03/17 18:56:01 warmerda * implement delayed loading of ctable format files * @@ -53,9 +56,18 @@ #include <projects.h> #include <stdio.h> #include <errno.h> -#include <assert.h> #include <string.h> +#ifdef _WIN32_WCE +/* assert.h includes all Windows API headers and causes 'LP' name clash. + * Here assert we disable assert() for Windows CE. + * TODO - mloskot: re-implement porting friendly assert + */ +# define assert(exp) ((void)0) +#else +# include <assert.h> +#endif /* _WIN32_WCE */ + /************************************************************************/ /* nad_ctable_load() */ /* */ |
