[Liblas-commits] hg: move #pragmas for windows inside windows #ifdef
liblas-commits at liblas.org
liblas-commits at liblas.org
Tue Jun 8 21:23:03 EDT 2010
changeset 48da097391cf in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=48da097391cf
summary: move #pragmas for windows inside windows #ifdef
diffstat:
src/gt_citation.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fbb7f83ddd6e -r 48da097391cf src/gt_citation.cpp
--- a/src/gt_citation.cpp Tue Jun 08 11:57:27 2010 -0600
+++ b/src/gt_citation.cpp Tue Jun 08 20:22:54 2010 -0500
@@ -38,12 +38,12 @@
// Ignore warning about redifinition. We need to use
// the new windows functions for this. We'll only
// warn on MSVC with /W4
+#if defined(WIN32)
#pragma warning( 4: 4005)
-#if defined(WIN32)
# define EQUALN(a,b,n) (_strnicmp(a,b,n)==0)
# define EQUAL(a,b) (_stricmp(a,b)==0)
+#pragma warning( default: 4005)
#endif
-#pragma warning( default: 4005)
#define nCitationNameTypes 9
typedef enum
More information about the Liblas-commits
mailing list