mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
MSVC8 fixes again, what the heck did I do before? o_O
This commit is contained in:
parent
fc429213d3
commit
a44eb16360
@ -25,6 +25,19 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#if _MSC_VER >= 1400
|
||||||
|
/* Disable deprecation warnings concerning unsafe CRT functions */
|
||||||
|
#define _CRT_SECURE_NO_DEPRECATE
|
||||||
|
|
||||||
|
/* Replace the POSIX function with ISO C++ conformant one as it is now deprecated */
|
||||||
|
#define fileno _fileno
|
||||||
|
|
||||||
|
/* Disable deprecation warnings because MSVC8 seemingly thinks ISO C++ conformant functions are deprecated. */
|
||||||
|
#pragma warning (disable : 4996)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include<stdio.h>
|
#include<stdio.h>
|
||||||
#include<stdlib.h>
|
#include<stdlib.h>
|
||||||
#include<string.h>
|
#include<string.h>
|
||||||
|
@ -209,11 +209,11 @@
|
|||||||
Name="GeoIP"
|
Name="GeoIP"
|
||||||
>
|
>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\geolib\libGeoIP\GeoIP.c"
|
RelativePath="..\GeoIP.c"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\geolib\libGeoIP\GeoIP.h"
|
RelativePath="..\GeoIP.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
Loading…
Reference in New Issue
Block a user