Created
November 7, 2009 05:57
-
-
Save drewdeponte/228558 to your computer and use it in GitHub Desktop.
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
so in process its semantically different behind the scenes | |
from how windows does it but its syntactically equivalent | |
as you can see from the email. all you have to do is set | |
up the macros correctly, its great. | |
Check out this link | |
http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Code-Gen-Options.html#Code-Gen-Options | |
and follow the two links it provides they are good resources. | |
your an oam | |
#ifndef _XACT_EXPORT_H_ | |
#define _XACT_EXPORT_H_ | |
#ifdef WIN32 | |
#ifdef XACT_DLLEXPORT | |
#define XACT_EXPORT __declspec(dllexport) | |
#else | |
#ifdef XACT_DLLIMPORT | |
#define XACT_EXPORT __declspec(dllimport) | |
#endif | |
#endif | |
#else | |
#ifdef XACT_DLLEXPORT | |
#define XACT_EXPORT __attribute__ ((visibility("default"))) | |
#define XACT_LOCAL __attribute__ ((visibility("hidden"))) | |
#else | |
#define XACT_EXPORT | |
#define XACT_LOCAL | |
#endif | |
#endif | |
#endif // _XACT_EXPORT_H_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment