Revision: 42077
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42077&view=rev
Author:   erikgreenwald
Date:     2011-01-11 15:34:57 +0000 (Tue, 11 Jan 2011)

Log Message:
-----------
Move the win32 near/far fix to the right place

Modified Paths:
--------------
    brlcad/trunk/src/adrt/libtie/tie.c
    brlcad/trunk/src/adrt/libtie/tieprivate.h

Modified: brlcad/trunk/src/adrt/libtie/tie.c
===================================================================
--- brlcad/trunk/src/adrt/libtie/tie.c  2011-01-11 15:26:53 UTC (rev 42076)
+++ brlcad/trunk/src/adrt/libtie/tie.c  2011-01-11 15:34:57 UTC (rev 42077)
@@ -43,11 +43,6 @@
 
 #include "tieprivate.h"
 
-#ifdef _WIN32
-# undef near
-# undef far
-#endif
-
 #define        TIE_TAB1                "\1\0\0\2\2\1"  /* Triangle Index Table 
*/
 
 #define TIE_DEGENERATE_THRESHOLD 0.0001

Modified: brlcad/trunk/src/adrt/libtie/tieprivate.h
===================================================================
--- brlcad/trunk/src/adrt/libtie/tieprivate.h   2011-01-11 15:26:53 UTC (rev 
42076)
+++ brlcad/trunk/src/adrt/libtie/tieprivate.h   2011-01-11 15:34:57 UTC (rev 
42077)
@@ -35,6 +35,11 @@
     unsigned int tri_num;
 } tie_geom_t;
 
+#ifdef _WIN32
+# undef near
+# undef far
+#endif
+
 typedef struct tie_stack_s {
     tie_kdtree_t *node;
     tfloat near;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to