This repository is currently being migrated. It's locked while the migration is in progress.
forked from ros-perception/image_common
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add DLL import/export macro (ros-perception#118)
- Loading branch information
Showing
10 changed files
with
62 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef IMAGE_TRANSPORT_EXPORTS_H | ||
#define IMAGE_TRANSPORT_EXPORTS_H | ||
|
||
#include <ros/macros.h> | ||
|
||
// Import/export for windows dll's and visibility for gcc shared libraries. | ||
|
||
#ifdef ROS_BUILD_SHARED_LIBS // ros is being built around shared libraries | ||
#ifdef image_transport_EXPORTS // we are building a shared lib/dll | ||
#define IMAGE_TRANSPORT_DECL ROS_HELPER_EXPORT | ||
#else // we are using shared lib/dll | ||
#define IMAGE_TRANSPORT_DECL ROS_HELPER_IMPORT | ||
#endif | ||
#else // ros is being built around static libraries | ||
#define IMAGE_TRANSPORT_DECL | ||
#endif | ||
|
||
#endif // IMAGE_TRANSPORT_EXPORTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters