diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-28 14:23:34 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-29 10:03:47 +0200 |
commit | bea66d22f2c0e97242c15652376ae4e82779f343 (patch) | |
tree | 500a6cc0c77ff534d40b3a32619ef2bc34c1f2b1 /src/glsl/lower_ubo_reference.cpp | |
parent | 7efb2350199f7ea5acbadb76a1a19eda75b45a45 (diff) |
util: implement strndup for WIN32
v2:
- Add strndup.h to Makefile.sources (Emil)
- Use calloc instead of malloc (Emil).
- Check if allocation fails (Emil, Jose)
- Add '#pragma once' and include stdlib.h to strndup.h (Jose)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92124
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glsl/lower_ubo_reference.cpp')
0 files changed, 0 insertions, 0 deletions