Skip to content

Commit

Permalink
Moved mime specific define for the Windows build to mime.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Apr 27, 2024
1 parent 42ab959 commit d98a6dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions MagickCore/mime.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
Define declarations.
*/
#define MimeFilename "mime.xml"

#if defined(MAGICKCORE_WINDOWS_SUPPORT)
# if !defined(strcasecmp)
# define strcasecmp _stricmp
# endif
#endif

/*
Typedef declaration.
Expand Down
3 changes: 0 additions & 3 deletions MagickCore/nt-base-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ extern "C" {
#if !defined(readdir)
# define readdir(directory) NTReadDirectory(directory)
#endif
#if !defined(strcasecmp)
# define strcasecmp _stricmp
#endif
#if !defined(sysconf)
# define sysconf(name) NTSystemConfiguration(name)
# define MAGICKCORE_HAVE_SYSCONF 1
Expand Down

0 comments on commit d98a6dc

Please sign in to comment.