diff options
Diffstat (limited to 'generic/OverlapMan.c')
-rw-r--r-- | generic/OverlapMan.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/generic/OverlapMan.c b/generic/OverlapMan.c index 8e38d39..e8515ff 100644 --- a/generic/OverlapMan.c +++ b/generic/OverlapMan.c @@ -45,12 +45,16 @@ static const char compile_id[]="$Compile: " __FILE__ " " __DATE__ " " __TIME__ " #else #include "malloc.h" #endif -#include "private.h" #include <stdio.h> #include <string.h> #include <math.h> +#ifdef _WIN32 +# ifndef __GNUC__ +# pragma warning(disable : 4996) +# endif +#endif #define signe(a) ((a) < (0) ? (-1) : (1)) #define abs(a) ((a) < (0) ? -(a) : (a)) @@ -349,7 +353,7 @@ OmRegister(void *w, int *, int *), void (*_fset_label_angle)(void *, void *, int, int), void (*_fquery_label_pos)(void *, void *, int, - int *, int *, int *, int *) __znunused) + int *, int *, int *, int *)) { int iw=0; BOOLEAN found=FALSE; @@ -1061,7 +1065,7 @@ void OmProcessOverlap(void *zinc, int width, int height, - double scale __znunused) + double scale) { double acceleration = 0.0; int ip, iw; |