Skip to content

Commit

Permalink
Remove custom WIN32 compiler macro in favor of _WIN32
Browse files Browse the repository at this point in the history
Closes geany#3660.
  • Loading branch information
eht16 committed May 20, 2024
1 parent 266bf72 commit 17f87f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ctags/gnu_regex/regex_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ static unsigned int re_string_context_at (const re_string_t *input, int idx,
#define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
#define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))

#ifdef WIN32
#ifdef _WIN32
# include <malloc.h>
#else
# include <alloca.h>
Expand Down
1 change: 0 additions & 1 deletion m4/geany-mingw.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ AC_DEFUN([GEANY_CHECK_MINGW],
[
case "${host}" in
*mingw*)
AC_DEFINE([WIN32], [1], [we are cross compiling for WIN32])
GEANY_CHECK_VTE([no])
GEANY_CHECK_SOCKET([yes])
AM_CONDITIONAL([MINGW], true)
Expand Down

0 comments on commit 17f87f8

Please sign in to comment.