drop WINNT-specific code

This was never really supported and it would probably require a lot of
work to get a usable chronyd in Cygwin. Remove all WINNT-specific code.
This commit is contained in:
Miroslav Lichvar
2015-09-15 18:12:32 +02:00
parent bde279c093
commit 4bc6950632
4 changed files with 0 additions and 78 deletions

View File

@@ -91,43 +91,4 @@
#include <nlist.h>
#endif
#if defined (WINNT)
/* Designed to work with the GCC from the GNAT-3.10 for Win32
distribution */
#define Win32_Winsock
#include <assert.h>
#include <ctype.h>
#if 1
/* Cheat and inline the necessary bits from <errno.h>. We don't
include it directly because it redefines some EXXX constants that
conflict with <windows32/sockets.h> (included by <windows.h>) */
int* _errno();
int* __doserrno();
#define errno (*_errno())
#define _doserrno (*__doserrno())
#define ENOENT 2
#else
#include <errno.h>
#endif
#include <float.h>
#include <math.h>
#include <signal.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
#include <windows.h>
#endif
#endif /* GOT_SYSINCL_H */