Subversion Repositories tpanel

Rev

Rev 11 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11 Rev 21
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2019 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2019 to 2021 by Andreas Theofilu <andreas@theosys.at>
3
 *
3
 *
4
 * This program is free software; you can redistribute it and/or modify
4
 * This program is free software; you can redistribute it and/or modify
5
 * it under the terms of the GNU General Public License as published by
5
 * it under the terms of the GNU General Public License as published by
6
 * the Free Software Foundation; either version 3 of the License, or
6
 * the Free Software Foundation; either version 3 of the License, or
7
 * (at your option) any later version.
7
 * (at your option) any later version.
Line 16... Line 16...
16
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
16
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
17
 */
17
 */
18
 
18
 
19
#include <iostream>
19
#include <iostream>
20
#include <fstream>
20
#include <fstream>
21
#if __GNUC__ < 9
21
#if __GNUC__ < 9 && !defined(__ANDROID__)
22
   #if __cplusplus < 201703L
22
   #if __cplusplus < 201703L
23
      #warning "Your C++ compiler seems to have no support for C++17 standard!"
23
      #warning "Your C++ compiler seems to have no support for C++17 standard!"
24
   #endif
24
   #endif
25
   #include <experimental/filesystem>
25
   #include <experimental/filesystem>
26
   namespace fs = std::experimental::filesystem;
26
   namespace fs = std::experimental::filesystem;
27
#else
27
#else
28
   #include <filesystem>
28
   #include <filesystem>
-
 
29
#  ifdef __ANDROID__
-
 
30
   namespace fs = std::__fs::filesystem;
-
 
31
#  else
29
   namespace fs = std::filesystem;
32
   namespace fs = std::filesystem;
-
 
33
#  endif
30
#endif
34
#endif
31
#include "texpand.h"
35
#include "texpand.h"
32
#include "terror.h"
36
#include "terror.h"
33
#include <assert.h>
37
#include <assert.h>
34
 
38