Skip to content

Commit

Permalink
Fix missing header
Browse files Browse the repository at this point in the history
  • Loading branch information
andrikpowell committed Jul 30, 2024
1 parent a1e686c commit ad16349
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion prboom2/src/doomtype.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ typedef unsigned char byte;
#ifdef _MSC_VER
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define strcasestr strstr
#endif

#ifndef PATH_MAX
Expand Down
1 change: 1 addition & 0 deletions prboom2/src/dsda/endoom.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#include "conio.h"
#endif

#include "doomdef.h"
Expand Down
2 changes: 1 addition & 1 deletion prboom2/src/dsda/settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static int dsda_WadCompatibilityLevel(void) {
else if (vlength <= 11 && !strncasecmp("final", vdata, 5))
complvl = 4;

if (vlength <= 14 && strcasestr(vdata, "limit"))
if (vlength <= 14 && strstr(vdata, "limit"))
limitremoving = 1;
}
if (complvl == -1) {
Expand Down

0 comments on commit ad16349

Please sign in to comment.