diff options
author | mbr <mbr@FreeBSD.org> | 2002-03-09 00:06:39 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-03-09 00:06:39 +0800 |
commit | edd3452d5ba9c225d458d3489695d1a636f7d979 (patch) | |
tree | 52bbc34f921dfdfa10d471c77c28e4b6c1dce9b9 /editors/openoffice.org-1.0 | |
parent | c498cc0c5ee827298ee852b96299d5411d34b3d1 (diff) | |
download | freebsd-ports-gnome-edd3452d5ba9c225d458d3489695d1a636f7d979.tar.gz freebsd-ports-gnome-edd3452d5ba9c225d458d3489695d1a636f7d979.tar.zst freebsd-ports-gnome-edd3452d5ba9c225d458d3489695d1a636f7d979.zip |
Add missing typedef and macros. Patch from Carlos F. A. Paniago
<pan@cnpm.embrapa.br>
Diffstat (limited to 'editors/openoffice.org-1.0')
-rw-r--r-- | editors/openoffice.org-1.0/files/patch-tools::inc:solar.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.0/files/patch-tools::inc:solar.h b/editors/openoffice.org-1.0/files/patch-tools::inc:solar.h new file mode 100644 index 000000000000..c9d50022fef7 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-tools::inc:solar.h @@ -0,0 +1,29 @@ +--- ../tools/inc/solar.h 2001/10/12 15:11:03 1.23 ++++ ../tools/inc/solar.h 2002/03/03 19:44:00 +@@ -108,7 +108,7 @@ + #endif + typedef short INT16; + typedef unsigned short UINT16; +-#if defined LINUX || defined SCO || defined IRIX || (defined _MSC_VER && _MSC_VER >1200) ++#if defined LINUX || defined SCO || defined IRIX || (defined _MSC_VER && _MSC_VER >1200) || defined FREEBSD + typedef signed char INT8; + #else + +@@ -149,7 +149,7 @@ + + /*** misc. macros to leverage platform and compiler differences ********/ + +-#if (defined ALPHA && !defined WNT) || defined IRIX || defined SOLARIS || defined HPUX || defined NETBSD ++#if (defined ALPHA && !defined WNT) || defined IRIX || defined SOLARIS || defined HPUX || defined NETBSD || defined FREEBSD + #define __DELETE(n) delete[] + #else + #define __DELETE(n) delete[n] +@@ -149,7 +149,7 @@ + + /*** misc. macros to leverage platform and compiler differences ********/ + +-#if (defined ALPHA && !defined WNT) || defined IRIX || defined SOLARIS || defined HPUX || defined NETBSD ++#if (defined ALPHA && !defined WNT) || defined IRIX || defined SOLARIS || defined HPUX || defined NETBSD || defined FREEBSD + #define __DELETE(n) delete[] + #else + #define __DELETE(n) delete[n] |