Skip to content

Commit

Permalink
Protect against double-define
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed May 3, 2024
1 parent e7a34c3 commit a21b67f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/h/dyninst_visibility.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#ifndef DYNINST_COMMON_DYNINST_VISIBILITY_H
#define DYNINST_COMMON_DYNINST_VISIBILITY_H

#define DYNINST_EXPORT __attribute__((visibility ("default")))
#ifndef DYNINST_EXPORT
# define DYNINST_EXPORT __attribute__((visibility ("default")))
#endif

#endif

0 comments on commit a21b67f

Please sign in to comment.