]> granicus.if.org Git - apache/commitdiff
Eliminating a bunch-o-junk from the Win32 os.h header that now lives
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 15 Oct 2000 19:38:50 +0000 (19:38 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 15 Oct 2000 19:38:50 +0000 (19:38 +0000)
  in apr or isn't used.  Please review closely (every symbol removed was
  grep't for, and no references were found.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86598 13f79535-47bb-0310-9956-ffa450edef68

os/win32/os.h

index 295a03042fac4544246c552b6ba9bc14dce094f1..b85f54632f8e8209bef40a207e9aa3243a9a8ee9 100644 (file)
 
 #define PLATFORM "Win32"
 
-/*
- * This file in included in all Apache source code. It contains definitions
- * of facilities available on _this_ operating system (HAVE_* macros),
- * and prototypes of OS specific functions defined in os.c
- */
-
-/* temporarily replace crypt */
-/* char *crypt(const char *pw, const char *salt); */
-#define crypt(buf,salt)            (buf)
+#define APACHE_MPM_DIR  "modules/mpm/winnt" /* generated on unix */
 
 /* Although DIR_TYPE is dirent (see nt/readdir.h) we need direct.h for
    chdir() */
 #include <direct.h>
 
-#define STATUS
-#ifndef STRICT
-#define STRICT
-#endif
 #define CASE_BLIND_FILESYSTEM
 #define NO_WRITEV
-#define NO_USE_SIGACTION
-/* #undef HAVE_TIMES */
-#define USE_LONGJMP
 #define HAVE_CANONICAL_FILENAME
 #define HAVE_DRIVE_LETTERS
 #define HAVE_UNC_PATHS
-#define HAVE_SENDFILE
 
 typedef int uid_t;
 typedef int gid_t;
@@ -115,8 +99,6 @@ typedef int pid_t;
 typedef int mode_t;
 typedef char * caddr_t;
 
-#define HAVE_MEMMOVE
-
 #define S_ISLNK(m) (0)
 #define S_ISREG(m) ((m & _S_IFREG) == _S_IFREG)
 #ifndef S_ISDIR
@@ -129,9 +111,6 @@ typedef char * caddr_t;
 #define JMP_BUF jmp_buf
 #define O_CREAT _O_CREAT
 #define O_RDWR _O_RDWR
-/* Seems Windows is not a subgenius */
-#define NO_SLACK
-#define APACHE_MPM_DIR  "modules/mpm/winnt" /* generated on unix */
 
 #include <stddef.h>
 
@@ -151,10 +130,6 @@ API_EXPORT(char *) ap_os_case_canonical_filename(apr_pool_t *pPool, const char *
 API_EXPORT(char *) ap_os_systemcase_filename(apr_pool_t *pPool, const char *szFile);
 API_EXPORT(int) ap_os_is_filename_valid(const char *file);
 
-#define ap_os_dso_error()   "" /* for now */
-/* Other ap_os_ routines not used by this platform */
-#define ap_os_kill(pid, sig)                kill(pid, sig)
-
 typedef void thread;
 typedef void event;