Skip to content

Commit

Permalink
Win32: Fixed warnings about deprecated string functions
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 22, 2011
1 parent 29d6838 commit 9e3b45c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doomsday/plugins/dehread/src/dehmain.c
Expand Up @@ -40,17 +40,19 @@

// HEADER FILES ------------------------------------------------------------

#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#endif

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <ctype.h>

#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# define stricmp _stricmp
# define strnicmp _strnicmp
#endif

// This plugin accesses the internal definition arrays. This dependency
// should be removed entirely, either by making the plugin modify the
// definitions via an API or by integrating the plugin into the engine.
Expand Down

0 comments on commit 9e3b45c

Please sign in to comment.