Mostly fixing up alloy clang build.

This commit is contained in:
Ben Vanik
2014-08-18 22:01:55 -07:00
parent 2356164525
commit d578f5d0f0
16 changed files with 64 additions and 56 deletions

View File

@@ -9,22 +9,20 @@
#include <poly/main.h>
#include <gflags/gflags.h>
#include <poly/string.h>
namespace poly {
bool has_console_attached() {
return true;
}
bool has_console_attached() { return true; }
} // namespace poly
extern "C" int main(int argc, char** argv) {
auto entry_info = poly::GetEntryInfo();
google::SetUsageMessage(std::string("usage: ") +
poly::to_string(entry_info.usage));
poly::to_string(entry_info.usage));
google::SetVersionString("1.0");
google::ParseCommandLineFlags(&argc, &argv, true);