This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
jiffy
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
62
Wiki
Activity
Browse Source
Windows: MSVC compatibility
pull/21/merge
Dave Cottlehuber
13 years ago
committed by
Paul J. Davis
parent
d127364b13
commit
3958170fd7
2 changed files
with
8 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
c_src/decoder.c
+4
-0
c_src/encoder.c
+ 4
- 0
c_src/decoder.c
View File
@ -16,6 +16,10 @@
#
define STACK_SIZE_INC 64
#
define STACK_SIZE_INC 64
#
define NUM_BUF_LEN 32
#
define NUM_BUF_LEN 32
#
ifdef WINDOWS || WIN32
#
define snprintf _snprintf
#
endif
enum
{
enum
{
st_value
=
0
,
st_value
=
0
,
st_object
,
st_object
,
+ 4
- 0
c_src/encoder.c
View File
@ -20,6 +20,10 @@ do { \
}
\
}
\
}
while
(
0
)
}
while
(
0
)
#
ifdef WINDOWS || WIN32
#
define inline __inline
#
define snprintf _snprintf
#
endif
typedef
struct
{
typedef
struct
{
ErlNifEnv
*
env
;
ErlNifEnv
*
env
;
Write
Preview
Loading…
Cancel
Save