Skip to content

Commit d053fbb

Browse files
committed
Fix Windows Electron build
1 parent 0d48672 commit d053fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InterSpec/InterSpec_config.h.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void log_developer_error( const char *location, const char *error );
118118
// On Windows, we will compile LibInterSpec as a shared DLL only when
119119
// `USE_BATCH_TOOLS` is enabled - so in this case we need to export the functions
120120
// we will want to use from the DLL.
121-
#if( USE_BATCH_TOOLS && (defined(WIN32) || defined(UNDER_CE) || defined(_WIN32) || defined(WIN64)) )
121+
#if( (USE_BATCH_TOOLS && !BUILD_AS_ELECTRON_APP) && (defined(WIN32) || defined(UNDER_CE) || defined(_WIN32) || defined(WIN64)) )
122122
#ifdef InterSpec_EXPORTS
123123
#define InterSpec_API __declspec(dllexport)
124124
#else

0 commit comments

Comments
 (0)