amxmodx/modules/mysqlx/mysql/MysqlHeaders.h

39 lines
1.1 KiB
C
Raw Permalink Normal View History

// vim: set ts=4 sw=4 tw=99 noet:
//
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
// Copyright (C) The AMX Mod X Development Team.
//
// This software is licensed under the GNU General Public License, version 3 or higher.
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
// https://alliedmods.net/amxmodx-license
//
// MySQL Module
//
2006-04-23 01:10:06 +00:00
#ifndef _INCLUDE_SOURCEMOD_MYSQL_HEADERS_H
#define _INCLUDE_SOURCEMOD_MYSQL_HEADERS_H
2006-04-26 23:54:12 +00:00
#if _MSC_VER >= 1400
/* Disable deprecation warnings concerning unsafe CRT functions */
#if !defined _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
/* Replace the POSIX function with ISO C++ conformant ones as they are now deprecated */
#define strnicmp _strnicmp
/* Disable deprecation warnings because MSVC8 seemingly thinks the ISO C++ conformant
* functions above are deprecated. */
#pragma warning (disable:4996)
#endif
2006-04-23 01:10:06 +00:00
#include <ISQLDriver.h>
#if defined WIN32 || defined _WIN32
2015-02-17 14:04:42 +00:00
#include <WinSock2.h>
2006-04-23 01:10:06 +00:00
#endif
typedef unsigned long ulong;
2006-04-23 01:10:06 +00:00
#include <mysql.h>
#endif //_INCLUDE_SOURCEMOD_MYSQL_HEADERS_H