Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
David Youssefi
otb
Commits
a8053100
Commit
a8053100
authored
16 years ago
by
Mathieu Deltorre
Browse files
Options
Downloads
Patches
Plain Diff
*modif macro preprocesseur, tient compte de config en static et en shared
parent
752cde9a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Utilities/otbopenjpeg/libopenjpeg/openjpeg.h
+12
-21
12 additions, 21 deletions
Utilities/otbopenjpeg/libopenjpeg/openjpeg.h
with
12 additions
and
21 deletions
Utilities/otbopenjpeg/libopenjpeg/openjpeg.h
+
12
−
21
View file @
a8053100
...
...
@@ -34,11 +34,14 @@
#ifndef OPENJPEG_H
#define OPENJPEG_H
//#if defined(OPJ_STATIC) || !(defined(WIN32) || defined(__WIN32__))
//#define OPJ_API
//#define OPJ_CALLCONV
//#else
//#define OPJ_CALLCONV __stdcall
// Modified by OTB developpers. /TODO check this
// Add specific plateform CYGWIN and MINGW
#if defined(OPJ_STATIC) || !(defined(WIN32) || defined(__WIN32__) || defined(__CYGWIN__) || defined(__MINGW__))
#define OPJ_API
#define OPJ_CALLCONV
#else
#define OPJ_CALLCONV __stdcall
/*
The following ifdef block is the standard way of creating macros which make exporting
from a DLL simpler. All files within this DLL are compiled with the OPJ_EXPORTS
...
...
@@ -47,24 +50,12 @@ that uses this DLL. This way any other project whose source files include this f
OPJ_API functions as being imported from a DLL, wheras this DLL sees symbols
defined with this macro as being exported.
*/
//#ifdef OPJ_EXPORTS
//#define OPJ_API __declspec(dllexport)
//#else
//#define OPJ_API __declspec(dllimport)
//#endif /* OPJ_EXPORTS */
//#endif /* !OPJ_STATIC || !WIN32 */
// Modified by OTB developpers. /TODO check this
#if (defined(WIN32) || defined(__WIN32__) || defined(__CYGWIN__) || defined(__MINGW__))
#define OPJ_CALLCONV __stdcall
#ifdef OPJ_EXPORTS
#define OPJ_API __declspec(dllexport)
#else
#define OPJ_CALLCONV
#define OPJ_API
#endif
#define OPJ_API __declspec(dllimport)
#endif
/* OPJ_EXPORTS */
#endif
/* !OPJ_STATIC || !WIN32 */
#ifndef __cplusplus
#if defined(HAVE_STDBOOL_H)
...
...
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