[GRASS5] Win32: _fmode and DLL

Radim Blazek radim.blazek at gmail.com
Fri Feb 3 13:14:51 EST 2006

It seems that if DLL is used on Windows the binary mode
(int _fmode = _O_BINARY; ) must be set in a module
even if it is already set in the library (gis, G__open)
Does it make sense? How to do it?
If I add it to gis.h compiler fails with:
  multiple definition of `__fmode'


More information about the grass-dev mailing list