Skip to content

Commit f768266

Browse files
committed
Created header files with cmake.
1 parent 9888cf9 commit f768266

File tree

3 files changed

+529
-1
lines changed

3 files changed

+529
-1
lines changed

ImageMagick/CMake.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cmake -DLIBXML2_WITH_ICONV=off -DLIBXML2_WITH_LZMA=off -DLIBXML2_WITH_PYTHON=off -DZLIB_INCLUDE_DIR:PATH="../zlib" -DZLIB_LIBRARY:FILEPATH="../zlib/foo.lib" ..
1+
cmake -DLIBXML2_WITH_ICONV=off -DLIBXML2_WITH_LZMA=off -DLIBXML2_WITH_PYTHON=off -DZLIB_INCLUDE_DIR:PATH="%cd%\..\..\zlib" -DZLIB_LIBRARY:FILEPATH="%cd%\..\..\zlib\foo.lib" ..

config.h

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#ifndef __LIBXML_WIN32_CONFIG__
2+
#define __LIBXML_WIN32_CONFIG__
3+
4+
#define SEND_ARG2_CAST
5+
#define GETHOSTBYNAME_ARG_CAST
6+
7+
#define HAVE_SYS_STAT_H
8+
#define HAVE_STAT
9+
#define HAVE_FCNTL_H
10+
11+
#if defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER >= 1600)
12+
#define HAVE_STDINT_H
13+
#endif
14+
15+
#if defined(_MSC_VER)
16+
#if _MSC_VER < 1900
17+
#define snprintf _snprintf
18+
#endif
19+
#if _MSC_VER < 1500
20+
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
21+
#endif
22+
#endif
23+
24+
#endif /* __LIBXML_WIN32_CONFIG__ */
25+

0 commit comments

Comments
 (0)