mirror of https://github.com/odrling/Aegisub
Wrap io.h with _MSC_VER since it's only needed on windows. Eventually we'll have to create our own set of defined macros for various platforms.
Originally committed to SVN as r4332.
This commit is contained in:
parent
40e12403d5
commit
cd8305987b
|
@ -1,7 +1,7 @@
|
|||
#define LAGI_PRE
|
||||
|
||||
// Common C
|
||||
#include <errno.h>
|
||||
#include <io.h>
|
||||
#include <math.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
@ -9,15 +9,21 @@
|
|||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
|
||||
// Windows C
|
||||
#ifdef _MSC_VER
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
// Common C++
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
// Cajun
|
||||
#include "libaegisub/cajun/elements.h"
|
||||
#include "libaegisub/cajun/reader.h"
|
||||
#include "libaegisub/cajun/visitor.h"
|
||||
#include "libaegisub/cajun/writer.h"
|
||||
|
||||
#define LAGI_PRE
|
||||
|
|
Loading…
Reference in New Issue