Use _WIN32 instead WIN32. (#4484)

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo
2021-01-16 20:22:28 +00:00
committed by GitHub
parent fe3b0a8435
commit 3ce4dce805
6 changed files with 29 additions and 29 deletions
+3 -3
View File
@@ -13,9 +13,9 @@
* limitations under the License.
*/
#if !defined (WIN32)
#if !defined (_WIN32)
#include <libgen.h>
#endif /* !defined (WIN32) */
#endif /* !defined (_WIN32) */
#include <limits.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -116,7 +116,7 @@ jerry_port_normalize_path (const char *in_path_p, /**< input file path */
{
size_t ret = 0;
#if defined (WIN32)
#if defined (_WIN32)
size_t base_drive_dir_len;
const size_t in_path_len = strnlen (in_path_p, _MAX_PATH);
char *path_p;