aboutsummaryrefslogtreecommitdiff
path: root/src/projects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/projects.h')
-rw-r--r--src/projects.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/projects.h b/src/projects.h
index 28a4d7da..042fcd36 100644
--- a/src/projects.h
+++ b/src/projects.h
@@ -28,6 +28,9 @@
******************************************************************************
*
* $Log$
+ * Revision 1.22 2006/03/30 14:35:09 fwarmerdam
+ * bug 1145: avoid warnings on VC8.
+ *
* Revision 1.21 2004/10/28 16:08:13 fwarmerdam
* added pj_get_*_ref() accessors
*
@@ -86,6 +89,15 @@
#ifndef PROJECTS_H
#define PROJECTS_H
+#ifdef _MSC_VER
+# ifndef _CRT_SECURE_NO_DEPRECATE
+# define _CRT_SECURE_NO_DEPRECATE
+# endif
+# ifndef _CRT_NONSTDC_NO_DEPRECATE
+# define _CRT_NONSTDC_NO_DEPRECATE
+# endif
+#endif
+
/* standard inclusions */
#include <math.h>
#include <stdio.h>