mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
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
adba06e649
commit
3acf1adfc7
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@
|
|||
*/
|
||||
|
||||
#include <winresrc.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#define LZMA_H_INTERNAL
|
||||
#define LZMA_H_INTERNAL_RC
|
||||
#include "lzma/version.h"
|
||||
|
|
Loading…
Reference in a new issue