| | @@ -0,0 +1,68 @@ |
| 1 | +/*
|
| 2 | +** Copyright (c) 2007 D. Richard Hipp
|
| 3 | +**
|
| 4 | +** This program is free software; you can redistribute it and/or
|
| 5 | +** modify it under the terms of the Simplified BSD License (also
|
| 6 | +** known as the "2-Clause License" or "FreeBSD License".)
|
| 7 | +
|
| 8 | +** This program is distributed in the hope that it will be useful,
|
| 9 | +** but without any warranty; without even the implied warranty of
|
| 10 | +** merchantability or fitness for a particular purpose.
|
| 11 | +**
|
| 12 | +** Author contact information:
|
| 13 | +** [email protected]
|
| 14 | +** http://www.hwaci.com/drh/
|
| 15 | +**
|
| 16 | +*******************************************************************************
|
| 17 | +**
|
| 18 | +** This file contains preprocessor directives used to help integrate with the
|
| 19 | +** Cygwin runtime and build environment. The intent of this file is to keep
|
| 20 | +** the Cygwin-specific preprocessor directives together.
|
| 21 | +*/
|
| 22 | +
|
| 23 | +#if defined(__CYGWIN__) && !defined(CYGSUP_H)
|
| 24 | +#define CYGSUP_H
|
| 25 | +
|
| 26 | +/*
|
| 27 | +*******************************************************************************
|
| 28 | +** Include any Cygwin-specific headers here. **
|
| 29 | +*******************************************************************************
|
| 30 | +*/
|
| 31 | +
|
| 32 | +#include <wchar.h>
|
| 33 | +#include <sys/cygwin.h>
|
| 34 | +
|
| 35 | +/*
|
| 36 | +*******************************************************************************
|
| 37 | +** Define any Cygwin-specific preprocessor macros here. All macros defined in
|
| 38 | +** this section should be wrapped with #ifndef, in order to allow them to be
|
| 39 | +** externally overridden.
|
| 40 | +*******************************************************************************
|
| 41 | +*/
|
| 42 | +
|
| 43 | +#ifndef CP_UTF8
|
| 44 | +# define CP_UTF8 65001
|
| 45 | +#endif
|
| 46 | +
|
| 47 | +#ifndef WINBASEAPI
|
| 48 | +# define WINBASEAPI __declspec(dllimport)
|
| 49 | +#endif
|
| 50 | +
|
| 51 | +#ifndef WINADVAPI
|
| 52 | +# define WINADVAPI __declspec(dllimport)
|
| 53 | +#endif
|
| 54 | +
|
| 55 | +#ifndef SHSTDAPI
|
| 56 | +# define SHSTDAPI __declspec(dllimport)
|
| 57 | +#endif
|
| 58 | +
|
| 59 | +#ifndef STDAPI
|
| 60 | +# define STDAPI __stdcall
|
| 61 | +#endif
|
| 62 | +
|
| 63 | +#ifndef WINAPI
|
| 64 | +# define WINAPI __stdcall
|
| 65 | +#endif
|
| 66 | +
|
| 67 | +/*
|
| 68 | +******************* |