From 353657fa069326a4036f2c9872e420c85f44b4e9 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joel.grunbaum@imc.com> Date: Wed, 12 Jan 2022 02:25:20 +0000 Subject: [PATCH] Added optimisation and test exchange selection in Makefile --- secrets.hpp | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/secrets.hpp b/secrets.hpp index b0622e5..b8e4925 100644 --- a/secrets.hpp +++ b/secrets.hpp @@ -1,11 +1,13 @@ #pragma once -#define HOST "sytev070" -#ifdef TEST -#define PORT "9005" +#include <string> + +constexpr const char* HOST = "sytev070"; +#ifdef TEST_EXCHANGE +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