Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d840af4b
Commit
d840af4b
authored
Feb 14, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move NULL define to corecrt.h.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
44c863be
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
48 deletions
+8
-48
corecrt.h
include/msvcrt/corecrt.h
+8
-0
stddef.h
include/msvcrt/stddef.h
+0
-8
stdio.h
include/msvcrt/stdio.h
+0
-8
stdlib.h
include/msvcrt/stdlib.h
+0
-8
string.h
include/msvcrt/string.h
+0
-8
time.h
include/msvcrt/time.h
+0
-8
wchar.h
include/msvcrt/wchar.h
+0
-8
No files found.
include/msvcrt/corecrt.h
View file @
d840af4b
...
...
@@ -41,6 +41,14 @@
# endif
#endif
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
#ifndef __stdcall
# ifdef __i386__
# ifdef __GNUC__
...
...
include/msvcrt/stddef.h
View file @
d840af4b
...
...
@@ -20,14 +20,6 @@
#include <corecrt.h>
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
#ifdef __GNUC__
#define offsetof(s,m) __builtin_offsetof(s,m)
#elif defined(_WIN64)
...
...
include/msvcrt/stdio.h
View file @
d840af4b
...
...
@@ -19,14 +19,6 @@
#define _IOSTRG 0x0040
#define _IORW 0x0080
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
...
...
include/msvcrt/stdlib.h
View file @
d840af4b
...
...
@@ -12,14 +12,6 @@
#include <pshpack8.h>
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif
#endif
typedef
struct
{
float
f
;
...
...
include/msvcrt/string.h
View file @
d840af4b
...
...
@@ -15,14 +15,6 @@
#define _NLSCMP_DEFINED
#endif
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
include/msvcrt/time.h
View file @
d840af4b
...
...
@@ -29,14 +29,6 @@ typedef __msvcrt_long clock_t;
#define _CLOCK_T_DEFINED
#endif
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
#ifndef CLOCKS_PER_SEC
#define CLOCKS_PER_SEC 1000
#endif
...
...
include/msvcrt/wchar.h
View file @
d840af4b
...
...
@@ -17,14 +17,6 @@
extern
"C"
{
#endif
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
#ifndef WCHAR_MIN
/* also in stdint.h */
#define WCHAR_MIN 0U
#define WCHAR_MAX 0xffffU
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment