[gmx-developers] *WIN* defines
Anton Feenstra
feenstra at chem.vu.nl
Tue Oct 1 10:40:23 CEST 2002
Hi,
In trjconv.c (and possibly in other places) I found the line:
#if (!defined WIN32 && !defined _WIN32 && !defined WIN64 && !defined _WIN64)
Which made me think it might be better to have an includefile do something
like:
#if (!defined WIN32 && !defined _WIN32 && !defined WIN64 && !defined _WIN64)
#define WIN
#endif
so the code can simply check #ifdef WIN
Possibly the same goes for other OS/platform conditionals.
Any thoughts on this?
--
Groetjes,
Anton
________ ___________________________________________________________
| | Anton Feenstra |
| . | Dept. of Pharmacochemistry - Vrije Universiteit Amsterdam |
| |---- | De Boelelaan 1083 - 1081 HV Amsterdam - The Netherlands |
| |---- | Tel: +31 20 44 47608 - Fax: +31 20 44 47610 |
| ' __ | Feenstra at chem.vu.nl - http://www.chem.vu.nl/afdelingen/FAR|
| / \ |-----------------------------------------------------------|
| ( ) | Dept. of Biophysical Chemistry - University of Groningen |
| \__/ | Nijenborgh 4 - 9747 AG Groningen - The Netherlands |
| __ | Tel +31 50 363 4327 - Fax +31 50 363 4800 |
| / \ | K.A.Feenstra at chem.rug.nl - http://md.chem.rug.nl/~anton |
| ( ) |-----------------------------------------------------------|
| \__/ | "Kissing You is Like Kissing Gravel" (Throwing Muses) |
|________|___________________________________________________________|
More information about the gromacs.org_gmx-developers
mailing list