Skip to content

Commit

Permalink
fixup! fixup! Update ci-win2022-vs2022-static-serial.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Feb 20, 2024
1 parent dfa8637 commit 67a56fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 6 additions & 2 deletions thirdparty/ffs/ffs/cod/cod.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ extern "C" {
#endif

#ifndef FFS_DECL_SPEC
#if defined(_MSC_VER) && !defined(FFS_SRC)
#define FFS_DECLSPEC __declspec(dllimport)
#if defined(_MSC_VER)
#if defined(FFS_SRC)
#define FFS_DECLSPEC __declspec(dllexport)
#else
#define FFS_DECLSPEC __declspec(dllimport)
#endif
#else
#define FFS_DECLSPEC
#endif
Expand Down
10 changes: 8 additions & 2 deletions thirdparty/ffs/ffs/fm/fm.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ extern "C" {

typedef struct _FMContextStruct *FMContext;

#if defined(_MSC_VER) && !defined(FFS_SRC)
#define FFS_DECLSPEC __declspec(dllimport)
#ifndef FFS_DECL_SPEC
#if defined(_MSC_VER)
#if defined(FFS_SRC)
#define FFS_DECLSPEC __declspec(dllexport)
#else
#define FFS_DECLSPEC __declspec(dllimport)
#endif
#else
#define FFS_DECLSPEC
#endif
#endif

extern FFS_DECLSPEC FMContext create_FMcontext();
extern FFS_DECLSPEC FMContext create_local_FMcontext();
Expand Down

0 comments on commit 67a56fc

Please sign in to comment.