Skip to content

Commit

Permalink
clipper.export.h compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusJohnson committed Oct 25, 2023
1 parent 11c97a1 commit 266a706
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CPP/Clipper2Lib/include/clipper2/clipper.export.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ inline Rect<T> CRectToRect(const CRect<T>& rect)
return result;
}

#define EXTERN_DLL_EXPORT extern "C" __declspec(dllexport)
#ifdef _WIN32
#define EXTERN_DLL_EXPORT extern "C" __declspec(dllexport)
#else
#define EXTERN_DLL_EXPORT extern "C"
#endif


//////////////////////////////////////////////////////
// EXPORTED FUNCTION DECLARATIONS
Expand Down

0 comments on commit 266a706

Please sign in to comment.