aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emess.c9
-rw-r--r--src/geod.c4
-rw-r--r--src/makefile.vc2
-rw-r--r--src/proj.c2
4 files changed, 13 insertions, 4 deletions
diff --git a/src/emess.c b/src/emess.c
index a9ef6dd3..9cb42888 100644
--- a/src/emess.c
+++ b/src/emess.c
@@ -3,6 +3,15 @@
static const char SCCSID[]="@(#)emess.c 4.6 94/05/24 GIE REL";
#endif
+#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
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
diff --git a/src/geod.c b/src/geod.c
index 9122ac1e..821f6f9a 100644
--- a/src/geod.c
+++ b/src/geod.c
@@ -2,11 +2,11 @@
static const char SCCSID[]="@(#)geod.c 4.8 95/09/23 GIE REL";
#endif
/* <<<< Geodesic filter program >>>> */
-# include <ctype.h>
-# include <stdio.h>
# include "projects.h"
# include "geodesic.h"
# include "emess.h"
+# include <ctype.h>
+# include <stdio.h>
# include <string.h>
# define MAXLINE 200
diff --git a/src/makefile.vc b/src/makefile.vc
index 1d4e6cc0..2928091c 100644
--- a/src/makefile.vc
+++ b/src/makefile.vc
@@ -5,7 +5,7 @@
# be adjusted. It is also possible to leave this, and define the
# PROJ_LIB environment variable to point to the NAD directory.
#
-PROJ_LIB_DIR=C:/PROJ/NAD
+PROJ_LIB_DIR=D:/dev/proj/_cvs/proj/nad
# Uncomment the first for an optimized build, or the second for debug.
OPTFLAGS= /nologo /Ox /MD
diff --git a/src/proj.c b/src/proj.c
index d4102734..cdfee821 100644
--- a/src/proj.c
+++ b/src/proj.c
@@ -2,12 +2,12 @@
#ifndef lint
static const char SCCSID[]="@(#)proj.c 4.12 95/09/23 GIE REL";
#endif
+#include "projects.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <math.h>
-#include "projects.h"
#include "emess.h"
/* TK 1999-02-13 */