diff options
| author | Zeev Suraski <zeev@php.net> | 1999-04-26 14:00:49 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-04-26 14:00:49 +0000 |
| commit | 7942eaf38138ef8751a447dadb930a129528fb6b (patch) | |
| tree | cee4b5eca81082809a9e5bb903173952f45e9501 /getopt.h | |
| parent | 050cb7cfe3da61621b6d01a0b013642543f44521 (diff) | |
| download | php-git-7942eaf38138ef8751a447dadb930a129528fb6b.tar.gz | |
* Plenty of thread safety and Win32 work.
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
* Switched to using the DLL runtime library under Win32. PHP will NOT work if
compiled against the static library!
* Removed yesterday's php4libts project (with php4dllts, it's obsolete).
This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
dependant on the thread-unsafe DLL.
Diffstat (limited to 'getopt.h')
| -rw-r--r-- | getopt.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ /* Borrowed from Apache NT Port */ #include "php.h" -extern char *optarg; -extern int optind; +PHPAPI extern char *optarg; +PHPAPI extern int optind; extern int opterr; extern int optopt; -extern int getopt(int argc, char* const *argv, const char *optstr); +PHPAPI int getopt(int argc, char* const *argv, const char *optstr); |
