should be it
This commit is contained in:
21
external/duckdb/scripts/windows_ci.py
vendored
Normal file
21
external/duckdb/scripts/windows_ci.py
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import os
|
||||
|
||||
common_path = os.path.join('src', 'include', 'duckdb', 'common', 'common.hpp')
|
||||
with open(common_path, 'r') as f:
|
||||
text = f.read()
|
||||
|
||||
|
||||
text = text.replace(
|
||||
'#pragma once',
|
||||
'''#pragma once
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef DUCKDB_MAIN_LIBRARY
|
||||
#include "duckdb/common/windows.hpp"
|
||||
#endif
|
||||
#endif
|
||||
''',
|
||||
)
|
||||
|
||||
with open(common_path, 'w+') as f:
|
||||
f.write(text)
|
||||
Reference in New Issue
Block a user