diff options
author | Andres Gomez <[email protected]> | 2018-08-01 16:26:48 +0300 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2018-08-02 10:06:44 +0300 |
commit | 1090e97e77fcde03552320b8262f14e3f0367391 (patch) | |
tree | a5a5400f123cf16ccb582deab0383c5d2875505d /src/vulkan/gen7_pack.h | |
parent | d7694136d364364db4cf9d3ce850720efe4f1f4a (diff) |
ddebug: use util_snprintf() in dd_get_debug_filename_and_mkdir
Instead of plain snprintf(). To fix the MSVC 2013 build:
Compiling src\gallium\auxiliary\driver_ddebug\dd_draw.c ...
dd_draw.c
c:\projects\mesa\src\gallium\auxiliary\driver_ddebug\dd_util.h(60) : warning C4013: 'snprintf' undefined; assuming extern returning int
...
gallium.lib(dd_draw.obj) : error LNK2001: unresolved external symbol _snprintf
build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll : fatal error LNK1120: 1 unresolved externals
scons: *** [build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll] Error 1120
scons: building terminated because of errors.
Fixes: 6ff0c6f4ebc ("gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times")
Cc: Marek Olšák <[email protected]>
Cc: Brian Paul <[email protected]>
Cc: Roland Scheidegger <[email protected]>
Cc: Nicolai Hähnle <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/vulkan/gen7_pack.h')
0 files changed, 0 insertions, 0 deletions