core/vpl/vpl_fileno.cxx
Go to the documentation of this file.
00001 // This is core/vpl/vpl_fileno.cxx
00002 #include "vpl_fileno.h"
00003 
00004 #if defined(VCL_COMO)
00005 extern "C" int fileno(FILE *);
00006 #endif
00007 
00008 int vpl_fileno(vcl_FILE *fp)
00009 {
00010 #if defined(VCL_WIN32) && !defined(__CYGWIN__) && _MSC_VER >= 1400
00011   return _fileno(fp);
00012 #else
00013   return fileno(fp);
00014 #endif
00015 }