+ #ifdef _WIN32In the rest of my_global.h we use __WIN__Wouldn't it be better to use the same constant everywhere?
Yes, it would. And this constant should be _WIN32, __WIN__ was
historically used, but it's incorrect - as was explained by our windows
developers. I've just used the "recommended" symbol.