|
Packit Service |
17f749 |
/************************************************************************************
|
|
Packit Service |
17f749 |
Copyright (C) 2014,2016 MariaDB Corporation AB
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
This library is free software; you can redistribute it and/or
|
|
Packit Service |
17f749 |
modify it under the terms of the GNU Library General Public
|
|
Packit Service |
17f749 |
License as published by the Free Software Foundation; either
|
|
Packit Service |
17f749 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
This library is distributed in the hope that it will be useful,
|
|
Packit Service |
17f749 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
17f749 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
17f749 |
Library General Public License for more details.
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
You should have received a copy of the GNU Library General Public
|
|
Packit Service |
17f749 |
License along with this library; if not see <http://www.gnu.org/licenses>
|
|
Packit Service |
17f749 |
or write to the Free Software Foundation, Inc.,
|
|
Packit Service |
17f749 |
51 Franklin St., Fifth Floor, Boston, MA 02110, USA
|
|
Packit Service |
17f749 |
*************************************************************************************/
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
/* MariaDB ODBC driver platform dependent declarations(win32) */
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
/* NOTE If you change something in this program, please consider if other platform's declaration
|
|
Packit Service |
17f749 |
require similar change */
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
/* Only one "platform" header is supposed to be included */
|
|
Packit Service |
17f749 |
#ifndef _ma_platform_x_h_
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
#define _ma_platform_x_h_
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
#ifndef WIN32_LEAN_AND_MEAN
|
|
Packit Service |
17f749 |
# define WIN32_LEAN_AND_MEAN
|
|
Packit Service |
17f749 |
#endif // !WIN32_LEAN_AND_MEAN
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
#define _WINSOCKAPI_
|
|
Packit Service |
17f749 |
#define DONT_DEFINE_VOID
|
|
Packit Service |
17f749 |
#define HAVE_UNICODE
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
#include <windows.h>
|
|
Packit Service |
17f749 |
#include <WinSock2.h>
|
|
Packit Service |
17f749 |
#include <shlwapi.h>
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
#if !defined(HAVE_mit_thread) && !defined(HAVE_STRTOK_R)
|
|
Packit Service |
17f749 |
#define strtok_r(A,B,C) strtok((A),(B))
|
|
Packit Service |
17f749 |
#endif
|
|
Packit Service |
17f749 |
#define strcasecmp(A,B) _stricmp((A),(B))
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
#define MADB_DRIVER_NAME "maodbc.dll"
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
char *strndup(const char *s, size_t n);
|
|
Packit Service |
17f749 |
char* strcasestr(const char* HayStack, const char* Needle);
|
|
Packit Service |
17f749 |
|
|
Packit Service |
17f749 |
#endif /*_ma_platform_x_h_ */
|