util: add util_strdup() wrapper macro
authorBrian Paul <brianp@vmware.com>
Tue, 17 Oct 2017 19:57:45 +0000 (13:57 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 23 Oct 2017 21:10:24 +0000 (15:10 -0600)
commitacd6ea0cc03501f5c79107749ec8a84e69c7979d
tree6f0dafb3f2f92fe8c5441b1670d103289497f284
parent623077393631d8c42d5e4aafeee446ca165e0b7e
util: add util_strdup() wrapper macro

To work around MSVC warning that strdup() is a deprecated POSIX function.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/util/u_string.h