ifdef for suse??
Hi,
Is there any compiler directive I could use to get some code to specifically compile for suse? like an #ifdef __SUSE__ ?? or something? -nikhil. |
nope. the name of the distro is at such a totally different level to C code it's unreal.. you really should be able to find a better solution than wanting to do that.
|
hmmmm
I need it because ...
my code crashes only on suse if LANG or LC_ALL are not set ... (they're NULL) ... for some reason, on suse, they're null by default.. i need to set them depending on whether the platform is suse.. (and not for other flavours of linux).. thats why i want some suse directive to have those statemenets compile only on suse.. any better solution than doing a strstr after fopen(etc/issue) ?? -nikhil. |
All times are GMT -5. The time now is 02:49 PM. |