1    	/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2    	/*                                                                           */
3    	/*                  This file is part of the class library                   */
4    	/*       SoPlex --- the Sequential object-oriented simPlex.                  */
5    	/*                                                                           */
6    	/*  Copyright 1996-2022 Zuse Institute Berlin                                */
7    	/*                                                                           */
8    	/*  Licensed under the Apache License, Version 2.0 (the "License");          */
9    	/*  you may not use this file except in compliance with the License.         */
10   	/*  You may obtain a copy of the License at                                  */
11   	/*                                                                           */
12   	/*      http://www.apache.org/licenses/LICENSE-2.0                           */
13   	/*                                                                           */
14   	/*  Unless required by applicable law or agreed to in writing, software      */
15   	/*  distributed under the License is distributed on an "AS IS" BASIS,        */
16   	/*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
17   	/*  See the License for the specific language governing permissions and      */
18   	/*  limitations under the License.                                           */
19   	/*                                                                           */
20   	/*  You should have received a copy of the Apache-2.0 license                */
21   	/*  along with SoPlex; see the file LICENSE. If not email to soplex@zib.de.  */
22   	/*                                                                           */
23   	/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24   	
25   	#ifndef _SOPLEX_FMT_HPP_
26   	#define _SOPLEX_FMT_HPP_
27   	
28   	#ifndef FMT_HEADER_ONLY
29   	#define FMT_HEADER_ONLY
30   	#endif
31   	
32   	/* if those macros are not defined and fmt includes windows.h
33   	 * then many macros are defined that can interfere with standard C++ code
34   	 */
35   	#ifndef NOMINMAX
36   	#define NOMINMAX
37   	#define SOPLEX_DEFINED_NOMINMAX
38   	#endif
39   	
40   	#ifndef WIN32_LEAN_AND_MEAN
41   	#define WIN32_LEAN_AND_MEAN
42   	#define SOPLEX_DEFINED_WIN32_LEAN_AND_MEAN
43   	#endif
44   	
45   	#ifndef NOGDI
46   	#define NOGDI
47   	#define SOPLEX_DEFINED_NOGDI
48   	#endif
49   	
50   	#include "soplex/external/fmt/format.h"
51   	#include "soplex/external/fmt/ostream.h"
52   	
53   	#ifdef SOPLEX_DEFINED_NOGDI
54   	#undef NOGDI
55   	#undef SOPLEX_DEFINED_NOGDI
56   	#endif
57   	
58   	#ifdef SOPLEX_DEFINED_NOMINMAX
59   	#undef NOMINMAX
60   	#undef SOPLEX_DEFINED_NOMINMAX
61   	#endif
62   	
63   	#ifdef SOPLEX_DEFINED_WIN32_LEAN_AND_MEAN
64   	#undef WIN32_LEAN_AND_MEAN
65   	#undef SOPLEX_DEFINED_WIN32_LEAN_AND_MEAN
66   	#endif
67   	
68   	#endif
69