Revision: 76207
http://sourceforge.net/p/brlcad/code/76207
Author: starseeker
Date: 2020-06-25 21:34:40 +0000 (Thu, 25 Jun 2020)
Log Message:
-----------
Hopefully with the facetize breakout we can put these back inside the C++
protections, because close -> _close is not so good for for .close() calls in
C++...
Modified Paths:
--------------
brlcad/trunk/include/config_win.h.in
Modified: brlcad/trunk/include/config_win.h.in
===================================================================
--- brlcad/trunk/include/config_win.h.in 2020-06-25 21:11:53 UTC (rev
76206)
+++ brlcad/trunk/include/config_win.h.in 2020-06-25 21:34:40 UTC (rev
76207)
@@ -87,10 +87,6 @@
#define YYTOKENTYPE 1
-#define close _close
-#define dup _dup
-#define dup2 _dup2
-
/* it we're compiling c++ sources, there's a possibility that we'll be
* including libc++ headers (e.g., iostream) where these underscore IO
* function hacks become counterproductive.
@@ -106,10 +102,13 @@
#define chsize _chsize
#define commit _commit
#define creat _creat
+#define dup _dup
+#define dup2 _dup2
/* #define filelength _filelength */
#define locking _locking
/* #define mktemp _mktemp */
#define open _open
+#define close _close
#define unlink _unlink
/* io.h's _pipe func takes different args */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits