Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
4ec3efcf
Commit
4ec3efcf
authored
Oct 02, 2010
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error in vc9: use _wassert instead of _assert, the latter no longer exists.
parent
ba62bfc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/util/prec.hpp
src/util/prec.hpp
+2
-2
No files found.
src/util/prec.hpp
View file @
4ec3efcf
...
...
@@ -93,9 +93,9 @@ class FileName : public wxString {
#ifdef _DEBUG
// Use OutputDebugString/DebugBreak for assertions if in debug mode
void
msvc_assert
(
const
char
*
,
const
char
*
,
const
char
*
,
unsigned
);
void
msvc_assert
(
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
unsigned
);
#undef assert
#define assert(exp) (void)( (exp) || (msvc_assert(nullptr,
#exp, __FILE__
, __LINE__), 0) )
#define assert(exp) (void)( (exp) || (msvc_assert(nullptr,
_CRT_WIDE(#exp), _CRT_WIDE(__FILE__)
, __LINE__), 0) )
#endif
#endif
...
...
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