Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
Samuel Marks
samuelmarks at hotmail.com
Fri Nov 8 03:07:54 PST 2013
Hmm, actually it might be better to copy how they managed it in the ChromiumOS project (LevelDB ppl); patch attached.
See https://chromium.googlesource.com/chromiumos/third_party/leveldb/+/master/port/port_posix.h
----------------------------------------
From: samuelmarks at hotmail.com
To: llvm-commits at cs.uiuc.edu
Subject: RE: Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
Date: Wed, 6 Nov 2013 20:34:09 +1100
Somehow lost `|| defined(__GNU__)` from the end of `#elif defined(__linux__)`; please see revised patch (attached)
From: samuelmarks at hotmail.com
To: llvm-commits at cs.uiuc.edu
Subject: Patch for `include/llvm/Support/Host.h` to support BSD and Solaris endian.h equivalents
Date: Wed, 6 Nov 2013 09:02:54 +0000
Please see attached.
Note that this PATCH has been stolen from http://permalink.gmane.org/gmane.network.dns.powerdns.devel/1172 😜
Tested on Sun OS 5.10 (SPARC).
_______________________________________________
llvm-commits mailing list
llvm-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list