Apache OpenOffice (AOO) Bugzilla – Issue 15895
sal/osl/unx/system.h and FreeBSD
Last modified: 2003-06-21 16:00:53 UTC
Hi, there is this code on line 227: #ifdef __FreeBSD_version < 500000 which is invalid preprocessor usage (#ifdef and conditional). Can I commit this? --- system.h.~1.17.34.1.~ 2003-06-18 23:50:16.000000000 +0200 +++ system.h 2003-06-21 15:38:38.000000000 +0200 @@ -224,7 +224,7 @@ # include <netinet/tcp.h> # define IORESOURCE_TRANSFER_BSD # include <machine/endian.h> -#ifdef __FreeBSD_version < 500000 +#if __FreeBSD_version < 500000 # if BYTE_ORDER == LITTLE_ENDIAN # define _LITTLE_ENDIAN # elif BYTE_ORDER == BIG_ENDIAN
Approved by Kevin in dev@porting. Commited.
Fixed.
-