mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
- add EG(windows_version_info), set at init time once per instance
contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example) - add the ability to disable a function when the windows function does not support a feature (for example symlink) - symlink, hardlink & co support (1/2)
This commit is contained in:
parent
fc6c8f5440
commit
2f61ad9b98
2 changed files with 72 additions and 4 deletions
25
main/win32_internal_function_disabled.h
Normal file
25
main/win32_internal_function_disabled.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2009 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Pierre A. Joye <pierre@php.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
/* 5 means the min version is 5 (XP/2000), 6 (2k8/vista), etc. */
|
||||
static const char *function_name_5[] = {"link", NULL};
|
||||
const int function_name_cnt_5 = 1;
|
||||
static const char *function_name_6[] = {"readlink", "symlink", NULL};
|
||||
const int function_name_cnt_6 = 2;
|
Loading…
Add table
Add a link
Reference in a new issue