Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
fa806957
Commit
fa806957
authored
Apr 27, 2014
by
Sam Mikes
Browse files
serialization #defines not visible to VS2013; add manually
parent
aa6f6bd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
serialization/src/dtoa.cpp
serialization/src/dtoa.cpp
+2
-1
serialization/src/tinyxml.h
serialization/src/tinyxml.h
+1
-0
No files found.
serialization/src/dtoa.cpp
View file @
fa806957
...
...
@@ -222,6 +222,7 @@ extern void *MALLOC(size_t);
static
double
private_mem
[
PRIVATE_mem
],
*
pmem_next
=
private_mem
;
#endif
#define IEEE_8087
#undef IEEE_Arith
#undef Avoid_Underflow
#ifdef IEEE_MC68k
...
...
@@ -293,7 +294,7 @@ extern "C" {
#endif
#if defined(IEEE_8087) + defined(IEEE_MC68k) + defined(VAX) + defined(IBM) != 1
Exactly
one
of
IEEE_8087
,
IEEE_MC68k
,
VAX
,
or
IBM
should
be
defined
.
#error
Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM should be defined.
#endif
typedef
union
{
double
d
;
ULong
L
[
2
];
}
U
;
...
...
serialization/src/tinyxml.h
View file @
fa806957
...
...
@@ -30,6 +30,7 @@ distribution.
#pragma warning( push )
#pragma warning( disable : 4530 )
#pragma warning( disable : 4786 )
#define TIXML_USE_STL
#endif
#include <ctype.h>
...
...
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