summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-12-21 20:19:37 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-12-21 20:19:37 +0000
commit131420c5d735ade02d29c7fa0e9487ea6bb64724 (patch)
tree8d3fe94a6d5aefffd01ffd039fc7fc252cf82c61 /llvm/utils
parent3e9e87a9cbccb9c613400e9a68e23581ca38a386 (diff)
downloadbcm5719-llvm-131420c5d735ade02d29c7fa0e9487ea6bb64724.tar.gz
bcm5719-llvm-131420c5d735ade02d29c7fa0e9487ea6bb64724.zip
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.
llvm-svn: 91842
Diffstat (limited to 'llvm/utils')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud