mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-29 00:58:51 +00:00
f001b0605e
1. Need to include <string> not <cstring> in gold's binary.cc 2. wcsncasecmp isn't always defined in Mac SDK 3. PTHREAD_ONCE_INIT is {0x30B1BCBA, {0}}, so can't be trivially assigned in an intializer list. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
12 lines
288 B
Diff
12 lines
288 B
Diff
--- binutils-2.25.orig/gold/binary.cc 2015-06-09 10:48:32.000000000 +0100
|
|
+++ binutils-2.25/gold/binary.cc 2015-06-09 10:49:23.000000000 +0100
|
|
@@ -23,7 +23,7 @@
|
|
#include "gold.h"
|
|
|
|
#include <cerrno>
|
|
-#include <cstring>
|
|
+#include <string>
|
|
#include "safe-ctype.h"
|
|
|
|
#include "elfcpp.h"
|