mirror of https://git.tukaani.org/xz.git
Windows: Fix building of resource files when config.h isn't used.
Now CMake + Visual Studio works for building liblzma.dll. Thanks to Markus Rickert.
This commit is contained in:
parent
a9e2a87f1d
commit
352ba2d69a
|
@ -6,7 +6,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <winresrc.h>
|
#include <winresrc.h>
|
||||||
#include "config.h"
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
#define LZMA_H_INTERNAL
|
#define LZMA_H_INTERNAL
|
||||||
#define LZMA_H_INTERNAL_RC
|
#define LZMA_H_INTERNAL_RC
|
||||||
#include "lzma/version.h"
|
#include "lzma/version.h"
|
||||||
|
|
Loading…
Reference in New Issue