aboutsummaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/porting.h')
-rw-r--r--src/porting.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/porting.h b/src/porting.h
index 902547ea9..aa389d02c 100644
--- a/src/porting.h
+++ b/src/porting.h
@@ -377,6 +377,9 @@ bool setXorgWindowIconFromPath(IrrlichtDevice *device,
void setWin32ExceptionHandler();
bool secure_rand_fill_buf(void *buf, size_t len);
+
+// This attaches to the parents process console, or creates a new one if it doesnt exist.
+void attachOrCreateConsole(void);
} // namespace porting
#ifdef __ANDROID__