diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-12-21 20:19:37 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-12-21 20:19:37 +0000 |
commit | 93d61f758389d41dd5cc9af9a4e0d43d2ec5739b (patch) | |
tree | 388969593979eeb8f6036d8b99feb5511e4e72b4 /utils/TableGen/Record.cpp | |
parent | 2a2cd1a44f7413c11e62af87cd937dd6e70bacff (diff) | |
download | external_llvm-93d61f758389d41dd5cc9af9a4e0d43d2ec5739b.zip external_llvm-93d61f758389d41dd5cc9af9a4e0d43d2ec5739b.tar.gz external_llvm-93d61f758389d41dd5cc9af9a4e0d43d2ec5739b.tar.bz2 |
Remove uber-gross hack. The define _snprintf to snprintf is invalid due to two reasons: 1. Accroding to C++ standard snprintf should be available in std namespace (and __gnu_cxx in case of GCC to). Such ifdef will change all snprintf's to _snprintf's, but won't bring snprintf to all necessary namespaces. Thus e.g. any locale-using code on mingw will yield an error (include this file + string to see the result) 2. MSVCRT's _snprintf does not comply with C99 standard. Standard one is snprintf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.cpp')
0 files changed, 0 insertions, 0 deletions