From d14f48a147190989d9b58f7b56429ac8711be077 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Tue, 11 Jan 2022 07:32:46 +0000 Subject: [PATCH] Don't static compile on Darwin systems --- secrets.hpp | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/secrets.hpp b/secrets.hpp index b0622e5..398da5c 100644 --- a/secrets.hpp +++ b/secrets.hpp @@ -1,11 +1,15 @@ #pragma once -#define HOST "sytev070" +#include <string> + +// #define TEST + +constexpr const char* HOST = "sytev070"; #ifdef TEST -#define PORT "9005" +constexpr const char* PORT = "9005"; #else -#define PORT "9000" +constexpr const char* PORT = "9000"; #endif -#define USER "jgrunbau" -#define PASS "b7d630945a0854581d9f86ba147f34a5" +constexpr const char* USER = "jgrunbau"; +constexpr const char* PASS = "b7d630945a0854581d9f86ba147f34a5"; -- Gitblit v1.9.3