Skip to content

Commit 74b3ebe

Browse files
committed
[windows] Fix Github issue POV-Ray#370.
1 parent 67698fd commit 74b3ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows/povconfig/syspovconfig.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ namespace povwin
169169
#define POV_MALLOC(size,msg) std::malloc (size)
170170
#define POV_REALLOC(ptr,size,msg) std::realloc ((ptr), (size))
171171
#define POV_FREE(ptr) do { std::free (static_cast<void *>(ptr)); (ptr) = NULL; } while(false)
172-
#define POV_STRDUP(str) std::strdup(str)
172+
#define POV_STRDUP(str) _strdup(str)
173173

174174
#define NO_RTR 1
175175
#define MEM_STATS 0

0 commit comments

Comments
 (0)