Re: Compiling error while compiling VC++ code on Ubuntu using GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



#ifdef CRUNTIMEDLL_EXPORTS
#ifdef _WIN32
#define CRUNTIMEDLL_API extern "C" __declspec(dllexport)
#else
#defineCRUNTIMEDLL_API extern "C"
#endif
#else
Runtimedll.h file contains below mention code:



#ifdef _WIN32
#define CRUNTIMEDLL_API __declspec(dllimport)
#else
#define CRUNTIMEDLL_API
#endif
#endif

// This class is exported from the CRuntimeDll.dll
class CCRuntimeDll {
public:
	CCRuntimeDll(void);
	// TODO: add your methods here.
};

extern int nCRuntimeDll;

CRUNTIMEDLL_API int fnCRuntimeDll(void);



--
View this message in context: http://gcc.1065356.n5.nabble.com/Compiling-error-while-compiling-VC-code-on-Ubuntu-using-GCC-tp958768p958789.html
Sent from the gcc - Help mailing list archive at Nabble.com.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux