|
/*
env.h
Definizione delle macro per l'ambiente (da includere solo nei .c/.cpp).
Luca Piergentili, 22/01/93
lpiergentili@yahoo.com
http://www.geocities.com/lpiergentili/
*/
#ifndef _ENV_H
#define _ENV_H 1
#ifndef _MSC_VER
#pragma message("\t\t\terror: _MSC_VER not defined")
#error unsupported compiler
#endif
#ifdef __cplusplus
#pragma message("\t\t\tC++ compile mode")
#else
#pragma message("\t\t\tC compile mode")
#endif
/*
_CONSOLE
*/
#ifndef _CONSOLE
#pragma message("\t\t\t_CONSOLE not defined")
#else
#pragma message("\t\t\t_CONSOLE defined")
#endif
/*
WIN32/_WIN32
*/
#ifdef WIN32
#ifndef _WIN32
#define _WIN32
#endif
#endif
#ifdef _WIN32
#ifndef WIN32
#define WIN32
#endif
#endif
#ifndef _WIN32
#pragma message("\t\t\t_WIN32 not defined")
#else
#pragma message("\t\t\t_WIN32 defined")
#endif
/*
_WINDOWS
*/
#ifndef _WINDOWS
#pragma message("\t\t\t_WINDOWS not defined")
#else
#pragma message("\t\t\t_WINDOWS defined")
#endif
/*
MFC
*/
#if defined(_AFX) || defined(_AFXDLL)
#pragma message("\t\t\tMFC defined")
#endif
#endif /* _ENV_H */
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
I like C and C++, Acid Jazz, James Brown, gli Spaghetti Aglio e Olio, alla Bolognesa, alla Puttanesca e le Fettuccine alla Matriciana ('Maccaroni' over the world). Of course I like beautiful big tits girls too, my little car, Frank Zappa, the art of Zen, italian coffee and much more...