Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
b5141783
Commit
b5141783
authored
Jan 21, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug #929
Changed _WINDOWS to __WINDOWS__
parent
d257c63c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
SDL_assert.c
src/SDL_assert.c
+5
-5
No files found.
src/SDL_assert.c
View file @
b5141783
...
...
@@ -26,7 +26,7 @@
#include "SDL_assert_c.h"
#include "video/SDL_sysvideo.h"
#ifdef _
WINDOWS
#ifdef _
_WINDOWS__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else
/* fprintf, _exit(), etc. */
...
...
@@ -57,7 +57,7 @@ debug_print(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
static
void
debug_print
(
const
char
*
fmt
,
...)
{
#ifdef _
WINDOWS
#ifdef _
_WINDOWS__
/* Format into a buffer for OutputDebugStringA(). */
char
buf
[
1024
];
char
*
startptr
;
...
...
@@ -99,7 +99,7 @@ debug_print(const char *fmt, ...)
}
#ifdef _
WINDOWS
#ifdef _
_WINDOWS__
static
SDL_assert_state
SDL_Windows_AssertChoice
=
SDL_ASSERTION_ABORT
;
static
const
SDL_assert_data
*
SDL_Windows_AssertData
=
NULL
;
...
...
@@ -248,7 +248,7 @@ static void SDL_GenerateAssertionReport(void)
static
void
SDL_ExitProcess
(
int
exitcode
)
{
#ifdef _
WINDOWS
#ifdef _
_WINDOWS__
ExitProcess
(
42
);
#else
_exit
(
42
);
...
...
@@ -311,7 +311,7 @@ SDL_PromptAssertion(const SDL_assert_data *data, void *userdata)
/* platform-specific UI... */
#ifdef _
WINDOWS
#ifdef _
_WINDOWS__
state
=
SDL_PromptAssertion_windows
(
data
);
#elif __MACOSX__
...
...
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