Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 6480dfc

Browse files
[[ LC 6.7.4-rc-1 ]] Backport Windows server compilation issues fixed in develop-7.0
1 parent 552185b commit 6480dfc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

revdb/src/dbdrivercommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1616

1717
#include "dbdrivercommon.h"
1818

19-
#if defined(_WINDOWS)
19+
#if defined(_WINDOWS) || defined(_WINDOWS_SERVER)
2020
#define LIBRARY_EXPORT __declspec(dllexport)
2121
#elif defined(_MACOSX)
2222
#define LIBRARY_EXPORT

revdb/src/revdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ DATABASEREC *LoadDatabaseDriverFromName(const char *p_type)
280280
t_result = new DATABASEREC;
281281
#if (defined _MACOSX && !defined _MAC_SERVER)
282282
t_result -> driverref = (CFBundleRef)t_handle;
283-
#elif (defined _WINDOWS)
283+
#elif (defined _WINDOWS) || defined _WINDOWS_SERVER
284284
t_result -> driverref = (HINSTANCE)t_handle;
285285
#else
286286
t_result -> driverref = t_handle;

thirdparty

0 commit comments

Comments
 (0)