Revision: 55251
http://sourceforge.net/p/brlcad/code/55251
Author: r_weiss
Date: 2013-04-25 21:33:22 +0000 (Thu, 25 Apr 2013)
Log Message:
-----------
Bug fix to "regex.h" for the bundled "libregex" to allow it to build on Linux
32bit.
Modified Paths:
--------------
brlcad/trunk/src/other/libregex/regex.h
Modified: brlcad/trunk/src/other/libregex/regex.h
===================================================================
--- brlcad/trunk/src/other/libregex/regex.h 2013-04-25 21:10:05 UTC (rev
55250)
+++ brlcad/trunk/src/other/libregex/regex.h 2013-04-25 21:33:22 UTC (rev
55251)
@@ -51,14 +51,12 @@
# define HAVE_SSIZE_T 1
#endif
-
-#if !defined(off_t) && !defined(__APPLE__)
-# if defined(_WIN32)
- typedef SSIZE_T off_t;
-# define _OFF_T_DEFINED 1
-# else
- typedef ptrdiff_t off_t;
-# endif
+#if defined(_WIN32) && !defined(_OFF_T_DEFINED)
+ typedef SSIZE_T off_t;
+# define _OFF_T_DEFINED 1
+#elif !defined(__APPLE__) && !defined(__off_t_defined)
+ typedef ptrdiff_t off_t;
+# define __off_t_defined 1
#endif
/* On Windows 64bit, "off_t" is defined as a "long"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits