Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
4132c63f
Commit
4132c63f
authored
8 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
def: fix typo
parent
7f2b5a44
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/opendht/def.h
+3
-3
3 additions, 3 deletions
include/opendht/def.h
with
3 additions
and
3 deletions
include/opendht/def.h
+
3
−
3
View file @
4132c63f
...
@@ -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 OPEND
T
H_IMPORT __declspec(dllimport)
#define OPENDH
T
_IMPORT __declspec(dllimport)
#define OPENDHT_EXPORT __declspec(dllexport)
#define OPENDHT_EXPORT __declspec(dllexport)
#define OPENDHT_HIDDEN
#define OPENDHT_HIDDEN
#else
#else
#define OPEND
T
H_IMPORT __attribute__ ((visibility ("default")))
#define OPENDH
T
_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 OPEND
T
H_IMPORT
#define OPENDHT_PUBLIC OPENDH
T
_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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment