From 072cf1c62c5b6d58b566966e3a381325837edc36 Mon Sep 17 00:00:00 2001 From: petterreinholdtsen Date: Sat, 26 Oct 2019 14:24:16 +0200 Subject: [PATCH] Move "stdafx.h" include below system headers. This avoid conflicting definitions of max() and min(). Fixes #21 The patch was fetched from https://github.com/Gnonthgol/fyba/commit/005e52702216899d507984f291ddb34a52623a12 . --- src/FYBA/FYLU.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FYBA/FYLU.cpp b/src/FYBA/FYLU.cpp index d14fa7a..1677109 100644 --- a/src/FYBA/FYLU.cpp +++ b/src/FYBA/FYLU.cpp @@ -4,12 +4,12 @@ /* Innhold: Rutiner for utvalg */ /* ======================================================================== */ -#include "stdafx.h" - #include #include #include +#include "stdafx.h" + using namespace std; #define U_PARA_LEN 128 /* Max lengde av parameterstreng */