Re: Need help GTK on Windows

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...

Since EuGTK works ok on my native Win 7, 64 bit, without the '+' what ifdefs should i use when adding this? Without ifdef, + breaks Linux.

include std/console.e 
ifdef BITS64 or LINUX then 
	-- do the cdecl or new 64bit calling stuff 
	puts(1,"linux or win64\n") 
elsifdef EU4_0 and WINDOWS then 
		-- do Windows stdcall stuff 
		puts(1,"windows32 and eu4.0\n") 
elsifdef	BITS32 and WINDOWS then 
		-- also do windows stdcall stuff 
		puts(1,"windows32 and eu4.1\n") 
end ifdef 
 
any_key() 

maybe something like this above.

Andreas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu