No patch
Correzioni per compilazione sotto linux git-svn-id: svn://10.65.10.50/trunk@11436 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9392161197
commit
bccc8fef5d
2
xi/xi.c
2
xi/xi.c
@ -102,7 +102,7 @@ get_primary_selection( XI_OBJ * itf, XinWindow win )
|
|||||||
/* printf("get_primary_selection: ENTERED, win %d\n", win); */
|
/* printf("get_primary_selection: ENTERED, win %d\n", win); */
|
||||||
|
|
||||||
/* request PRIMARY selection */
|
/* request PRIMARY selection */
|
||||||
if ( rp_xi_obj {
|
if ( rp_xi_obj) {
|
||||||
widget = ( Widget ) XinWindowWidgetGet( win );
|
widget = ( Widget ) XinWindowWidgetGet( win );
|
||||||
XtGetSelectionValue( widget, XA_PRIMARY, XA_STRING, receive_primesel, NULL,
|
XtGetSelectionValue( widget, XA_PRIMARY, XA_STRING, receive_primesel, NULL,
|
||||||
XtLastTimestampProcessed( XtDisplay( widget ) ) );
|
XtLastTimestampProcessed( XtDisplay( widget ) ) );
|
||||||
|
@ -16,6 +16,10 @@
|
|||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if XIWS == XIWS_XM
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
XI_BITMAP *
|
XI_BITMAP *
|
||||||
xi_bitmap_create( char *filename, XI_BITMAP_MODE mode )
|
xi_bitmap_create( char *filename, XI_BITMAP_MODE mode )
|
||||||
{
|
{
|
||||||
|
@ -33,6 +33,10 @@
|
|||||||
#define XIWS_WM WMWS
|
#define XIWS_WM WMWS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef LINUX
|
||||||
|
#define XVTWS XOLWS
|
||||||
|
#endif
|
||||||
|
|
||||||
#if XVTWS == MACWS
|
#if XVTWS == MACWS
|
||||||
#define XIWS XIWS_MAC
|
#define XIWS XIWS_MAC
|
||||||
#elif XVTWS == PMWS
|
#elif XVTWS == PMWS
|
||||||
@ -50,7 +54,7 @@
|
|||||||
#ifdef XI_USE_XM
|
#ifdef XI_USE_XM
|
||||||
#define XIWS XIWS_XM
|
#define XIWS XIWS_XM
|
||||||
#define EOL_SEQ "\n"
|
#define EOL_SEQ "\n"
|
||||||
#define SZ_FNAME 64
|
#define SZ_FNAME 256
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XI_USE_WIN
|
#ifdef XI_USE_WIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user