Revision: 38954
http://brlcad.svn.sourceforge.net/brlcad/?rev=38954&view=rev
Author: erikgreenwald
Date: 2010-05-04 20:57:35 +0000 (Tue, 04 May 2010)
Log Message:
-----------
use typedef instead of #define for tfloat
Modified Paths:
--------------
brlcad/trunk/src/adrt/libtie/tie_define.h
Modified: brlcad/trunk/src/adrt/libtie/tie_define.h
===================================================================
--- brlcad/trunk/src/adrt/libtie/tie_define.h 2010-05-04 20:16:07 UTC (rev
38953)
+++ brlcad/trunk/src/adrt/libtie/tie_define.h 2010-05-04 20:57:35 UTC (rev
38954)
@@ -65,10 +65,10 @@
/* Type to use for floating precision */
#if TIE_PRECISION == TIE_SINGLE_PRECISION
-# define tfloat float
+typedef float tfloat;
# define TIE_VAL(x) x##0
#elif TIE_PRECISION == TIE_DOUBLE_PRECISION
-# define tfloat double
+typedef double tfloat;
# define TIE_VAL(x) x##1
#else
# error "Unknown precision"
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