Skip to content

Commit

Permalink
corec: remove strdup definition
Browse files Browse the repository at this point in the history
MSVC can understand the regular call.
  • Loading branch information
robUx4 committed Jan 2, 2025
1 parent 2a796bc commit 0a321c8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions corec/corec/portab.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,6 @@
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>

#ifndef strdup
#define strdup(x) _strdup(x)
#endif

#if _MSC_VER >= 1400
#define NOINLINE __declspec(noinline)
#else
Expand Down

0 comments on commit 0a321c8

Please sign in to comment.