comparison liboctave/util/oct-sort.h @ 30642:b7df783dbe43 stable

Include "octave-config.h" before other headers (bug #61812). * liboctave/util/lo-ieee.h, liboctave/util/oct-sort.h: If "octave-config.h" is included, it should appear before any other header. Fix that.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 14 Jan 2022 15:48:34 +0100
parents 796f54d4ddbf
children e7fc6251b698
comparison
equal deleted inserted replaced
30640:d162766886ce 30642:b7df783dbe43
85 //////////////////////////////////////////////////////////////////////// 85 ////////////////////////////////////////////////////////////////////////
86 86
87 #if ! defined (octave_oct_sort_h) 87 #if ! defined (octave_oct_sort_h)
88 #define octave_oct_sort_h 1 88 #define octave_oct_sort_h 1
89 89
90 #include "octave-config.h"
91
90 #include <functional> 92 #include <functional>
91
92 #include "octave-config.h"
93 93
94 #include "lo-traits.h" 94 #include "lo-traits.h"
95 95
96 // Enum for type of sort function 96 // Enum for type of sort function
97 enum sortmode { UNSORTED = 0, ASCENDING, DESCENDING }; 97 enum sortmode { UNSORTED = 0, ASCENDING, DESCENDING };