Skip to content
Snippets Groups Projects
Commit 4132c63f authored by Adrien Béraud's avatar Adrien Béraud
Browse files

def: fix typo

parent 7f2b5a44
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
// Generic helper definitions for shared library support // Generic helper definitions for shared library support
#if defined _WIN32 || defined __CYGWIN__ #if defined _WIN32 || defined __CYGWIN__
#define OPENDTH_IMPORT __declspec(dllimport) #define OPENDHT_IMPORT __declspec(dllimport)
#define OPENDHT_EXPORT __declspec(dllexport) #define OPENDHT_EXPORT __declspec(dllexport)
#define OPENDHT_HIDDEN #define OPENDHT_HIDDEN
#else #else
#define OPENDTH_IMPORT __attribute__ ((visibility ("default"))) #define OPENDHT_IMPORT __attribute__ ((visibility ("default")))
#define OPENDHT_EXPORT __attribute__ ((visibility ("default"))) #define OPENDHT_EXPORT __attribute__ ((visibility ("default")))
#define OPENDHT_HIDDEN __attribute__ ((visibility ("hidden"))) #define OPENDHT_HIDDEN __attribute__ ((visibility ("hidden")))
#endif #endif
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#ifdef OPENDHT_BUILD // defined if we are building the OpenDHT shared library (instead of using it) #ifdef OPENDHT_BUILD // defined if we are building the OpenDHT shared library (instead of using it)
#define OPENDHT_PUBLIC OPENDHT_EXPORT #define OPENDHT_PUBLIC OPENDHT_EXPORT
#else #else
#define OPENDHT_PUBLIC OPENDTH_IMPORT #define OPENDHT_PUBLIC OPENDHT_IMPORT
#endif // OPENDHT_BUILD #endif // OPENDHT_BUILD
#define OPENDHT_LOCAL OPENDHT_HIDDEN #define OPENDHT_LOCAL OPENDHT_HIDDEN
#else // opendht_EXPORTS is not defined: this means OpenDHT is a static lib. #else // opendht_EXPORTS is not defined: this means OpenDHT is a static lib.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment