Warning, /education/cantor/thirdparty/discount-2.2.6-patched/msvc/config.h.vc is written in an unsupported language. File is not indexed.

0001 /*
0002  * Pre-digested configuration header for MSVC on Windows.
0003  */
0004 
0005 #ifndef __AC_MARKDOWN_D
0006 #define __AC_MARKDOWN_D 1
0007 
0008 #ifndef _MSC_VER
0009 #error Use this header with MSVC only.
0010 #endif
0011 
0012 #define OS_WIN32 1
0013 
0014 /*
0015  * `discount` feature macros - we want them all!
0016  */
0017 #ifndef WITH_ID_ANCHOR
0018 #define WITH_ID_ANCHOR 1
0019 #endif
0020 #ifndef WITH_FENCED_CODE
0021 #define WITH_FENCED_CODE 1
0022 #endif
0023 #ifndef WITH_GITHUB_TAGS
0024 #define WITH_GITHUB_TAGS 1
0025 #endif
0026 #ifndef USE_DISCOUNT_DL
0027 #define USE_DISCOUNT_DL 1
0028 #endif
0029 #ifndef USE_EXTRA_DL
0030 #define USE_EXTRA_DL 1
0031 #endif
0032 
0033 /*
0034  * The Visual C++ "C" compiler has a `__inline` keyword implemented
0035  * in Visual Studio 2008 and later, see
0036  * <http://msdn.microsoft.com/de-de/library/cx3b23a3%28v=vs.90%29.aspx>
0037  */
0038 #if _MSC_VER >= 1500 /* VC 9.0, MSC_VER 15, Visual Studio 2008 */
0039 #define inline __inline
0040 #else
0041 #define inline 
0042 #endif
0043 
0044 #ifdef _MSC_VER
0045 #ifndef strncasecmp
0046 #include <string.h>
0047 #define bzero(p, n) memset(p, 0, n)
0048 #define strcasecmp _stricmp 
0049 #define strncasecmp _strnicmp
0050 #endif
0051 #endif
0052 
0053 /*
0054  * Beware of conflicts with <Windows.h>, which typedef's these names.
0055  */
0056 #ifndef WINVER
0057 #define DWORD unsigned long
0058 #define WORD  unsigned short
0059 #define BYTE  unsigned char
0060 #endif
0061 
0062 #define HAVE_PWD_H 0
0063 #define HAVE_GETPWUID 0
0064 #define HAVE_SRANDOM 0
0065 #define INITRNG(x) srand((unsigned int)x)
0066 #define HAVE_BZERO 0
0067 #define HAVE_RANDOM 0
0068 #define COINTOSS() (rand()&1)
0069 #define HAVE_STRCASECMP  1
0070 #define HAVE_STRNCASECMP 1
0071 #define HAVE_FCHDIR 0
0072 #define TABSTOP 8
0073 #define HAVE_MALLOC_H    0
0074 
0075 #endif /* __AC_MARKDOWN_D */