[brlcad-commits] SF.net SVN: brlcad: [30111] brlcad/trunk/include/common.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2008-01-28 14:02:08
|
Revision: 30111 http://brlcad.svn.sourceforge.net/brlcad/?rev=30111&view=rev Author: brlcad Date: 2008-01-28 06:02:13 -0800 (Mon, 28 Jan 2008) Log Message: ----------- how about this? define O_TEMPORARY and O_BINARY from common since they're generic and would otherwise just be included from an AH_BOTTOM or an AC_DEFINE if put into the config header Modified Paths: -------------- brlcad/trunk/include/common.h Modified: brlcad/trunk/include/common.h =================================================================== --- brlcad/trunk/include/common.h 2008-01-28 08:24:05 UTC (rev 30110) +++ brlcad/trunk/include/common.h 2008-01-28 14:02:13 UTC (rev 30111) @@ -64,6 +64,16 @@ # define __END_DECLS #endif +/* _O_TEMPORARY on Windows removes file when last descriptor is closed */ +#ifndef O_TEMPORARY +# define O_TEMPORARY 0 +#endif + +/* _O_BINARY on Windows indicates whether to use binary or text (default) I/O */ +#ifndef O_BINARY +# define O_BINARY 0 +#endif + #endif /* __COMMON_H__ */ /** @} */ /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |