~ubuntu-branches/ubuntu/wily/octave-miscellaneous/wily

« back to all changes in this revision

Viewing changes to src/listencanfork.c

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2012-10-17 13:40:55 UTC
  • mfrom: (1.1.6)
  • mto: (5.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: package-import@ubuntu.com-20121017134055-e8lrxjd3qgcd3kmt
Tags: upstream-1.2.0
Import upstream version 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#if defined(__CYGWIN__)
2
 
#include <windows.h>
3
 
 
4
 
int listencanfork()
5
 
{
6
 
  OSVERSIONINFO osvi;
7
 
  osvi.dwOSVersionInfoSize = sizeof(osvi);
8
 
  GetVersionEx (&osvi);
9
 
  return (osvi.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS);
10
 
}
11
 
#else
12
 
int listencanfork() { return 1; }
13
 
#endif