From 392a48523c2112fdba18bf0ca2f133522be6ef87 Mon Sep 17 00:00:00 2001 From: AnzoDK Date: Wed, 15 Sep 2021 18:01:10 +0200 Subject: [PATCH] Windows fix --- PKGBUILD | 2 +- RPCommon/RPCommon.h | 2 +- RPCommon/strreverse.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 8347364..7ee396b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname="rpcommon" provides=('rpcommon') conflicts=('rpcommon-dev') -pkgver=0.1.12 +pkgver=0.1.13 pkgrel=1 arch=('any') pkgdesc="A compilation of small and common functions to make the dev life easier" diff --git a/RPCommon/RPCommon.h b/RPCommon/RPCommon.h index 80c9183..815b38f 100644 --- a/RPCommon/RPCommon.h +++ b/RPCommon/RPCommon.h @@ -1,5 +1,5 @@ #pragma once -#if defined(win32) || defined(win64) +#if defined(WIN32) || defined(WIN64) #include #endif #include "strreverse.h" diff --git a/RPCommon/strreverse.h b/RPCommon/strreverse.h index a0d86ab..5e99007 100644 --- a/RPCommon/strreverse.h +++ b/RPCommon/strreverse.h @@ -1,5 +1,5 @@ -#include #pragma once +#include inline static std::string ReverseString(std::string s) { std::string tmp = "";