Skip to content

Commit

Permalink
Export declaration incorrect for windows build
Browse files Browse the repository at this point in the history
Under windows, rather than defining CCD_EXPORT, _ccd_export was being
defined leading to a litany of compilation errors. This corrects the
problem.
  • Loading branch information
SeanCurtis-TRI committed Mar 9, 2018
1 parent 5677d38 commit faa48df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ccd/ccd_export.h
Expand Up @@ -6,9 +6,9 @@
#else
# ifdef _MSC_VER
# ifdef ccd_EXPORTS
# define _ccd_export __declspec(dllexport)
# define CCD_EXPORT __declspec(dllexport)
# else /* ccd_EXPORTS */
# define _ccd_export __declspec(dllimport)
# define CCD_EXPORT __declspec(dllimport)
# endif /* ccd_EXPORTS */
# else
# ifndef CCD_EXPORT
Expand Down

0 comments on commit faa48df

Please sign in to comment.