Logo Search packages:      
Sourcecode: octave-miscellaneous version File versions  Download package

listencanfork.c

#if defined(__CYGWIN__)
#include <windows.h>

int listencanfork()
{
  OSVERSIONINFO osvi;
  osvi.dwOSVersionInfoSize = sizeof(osvi);
  GetVersionEx (&osvi);
  return (osvi.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS);
}
#else
int listencanfork() { return 1; }
#endif

Generated by  Doxygen 1.6.0   Back to index