r16911 by jghali - #10326: Support OpenBSD and FreeBSD in third_party/pgf/PGFplatform.h
scribus-commit
scribus-commit at lists.scribus.net
Mon Oct 17 19:40:23 UTC 2011
Author: jghali
Date: Mon Oct 17 19:40:23 2011
New Revision: 16911
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16911
Log:
#10326: Support OpenBSD and FreeBSD in third_party/pgf/PGFplatform.h
Modified:
trunk/Scribus/scribus/third_party/pgf/PGFplatform.h
Modified: trunk/Scribus/scribus/third_party/pgf/PGFplatform.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16911&path=/trunk/Scribus/scribus/third_party/pgf/PGFplatform.h
==============================================================================
--- trunk/Scribus/scribus/third_party/pgf/PGFplatform.h (original)
+++ trunk/Scribus/scribus/third_party/pgf/PGFplatform.h Mon Oct 17 19:40:23 2011
@@ -339,9 +339,9 @@
//-------------------------------------------------------------------------------
-// NetBSD
-//-------------------------------------------------------------------------------
-#ifdef __NetBSD__
+// *BSD
+//-------------------------------------------------------------------------------
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
#ifndef __POSIX__
#define __POSIX__
#endif
@@ -354,7 +354,7 @@
#define lseek64 lseek
#endif
-#endif // __NetBSD__
+#endif // __NetBSD__ or __OpenBSD__ or __FreeBSD__
//-------------------------------------------------------------------------------
More information about the scribus-commit
mailing list