mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-23 23:35:20 +00:00
Change to externs to build on Darwin
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#if defined(XCURSES)
|
||||
#include "pdcx11.h"
|
||||
|
||||
AppData app_data;
|
||||
|
||||
#if NeedWidePrototypes
|
||||
# define PDC_SCROLLBAR_TYPE double
|
||||
#else
|
||||
|
||||
@@ -239,7 +239,6 @@ typedef struct
|
||||
XtWidgetGeometry geometry;
|
||||
#endif
|
||||
} AppData;
|
||||
AppData app_data;
|
||||
|
||||
#define XCURSESNORMALFONTINFO app_data.normalfont
|
||||
#define XCURSESITALICFONTINFO app_data.italicfont
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "pdcx11.h"
|
||||
extern AppData app_data;
|
||||
|
||||
int visible_cursor=0;
|
||||
int windowEntered = 1;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
*/
|
||||
|
||||
#include "pdcx11.h"
|
||||
extern AppData app_data;
|
||||
|
||||
#ifdef PROTO
|
||||
static void XCursesExitCursesProcess(int, char *);
|
||||
|
||||
Reference in New Issue
Block a user