Skip to content

Commit

Permalink
Fix attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed May 21, 2024
1 parent e9fa676 commit 62e34e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion capi/geos_ts_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

#ifdef _MSC_VER
#pragma warning(disable : 4099)
#define __attribute__ (x)
#define __attribute__(x)
#endif

// Some extra magic to make type declarations in geos_c.h work -
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/capi/capi_test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <cfenv>

#ifdef _MSC_VER
#define __attribute__ (x)
#define __attribute__(x)
#endif


Expand Down

0 comments on commit 62e34e0

Please sign in to comment.