Skip to content
Snippets Groups Projects
Commit 42f3a2ac authored by Romain Garrigues's avatar Romain Garrigues
Browse files

Conflit de prototype entre des appels à l'api standard w32 stdcall et l'api standard C

parent f99df34e
Branches
Tags
No related merge requests found
......@@ -22,8 +22,14 @@ PURPOSE. See the above copyright notices for more information.
// This is defined in windows only, and it is needed for FunctionPointerType
// to be properly defined.
#ifndef CALLBACK
#define CALLBACK
// There are function prototype conflits under cygwin between standard w32 API
// and standard C ones
#ifndef CALLBACK
#if defined(__CYGWIN__)
#define CALLBACK __stdcall
#else
#define CALLBACK
#endif
extern "C"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment