Skip to content

Commit 39c0721

Browse files
committed
cpj_path_join_and_normalize for windows are fine now
1 parent 06d3de9 commit 39c0721

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/cpj.c

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,6 @@
55
#include <stdint.h>
66
#include <string.h>
77

8-
#ifdef _MSC_VER
9-
10-
/*
11-
* Compiler-specific macros relevant for Microsoft Visual C/C++ Compiler.
12-
*/
13-
#define JERRY_ATTR_DEPRECATED __declspec(deprecated)
14-
#define JERRY_ATTR_NOINLINE __declspec(noinline)
15-
#define JERRY_ATTR_NORETURN __declspec(noreturn)
16-
17-
/*
18-
* Microsoft Visual C/C++ Compiler doesn't support for VLA, using _alloca
19-
* instead.
20-
*/
21-
void *__cdecl _alloca(size_t _Size);
22-
#define JERRY_VLA(type, name, size) type *name = (type *)(_alloca(sizeof(type) * (size)))
23-
24-
#endif /* _MSC_VER */
25-
26-
/**
27-
* Helper to declare (or mimic) a C99 variable-length array.
28-
*/
29-
#ifndef JERRY_VLA
30-
#define JERRY_VLA(type, name, size) type name[size]
31-
#endif /* !JERRY_VLA */
32-
338
typedef enum
349
{
3510
CPJ_ITERATOR_STATE_ONE_DOT,

0 commit comments

Comments
 (0)