mirror of
https://github.com/libretro/pcsx2.git
synced 2025-02-19 00:47:48 +00:00

Add 2 attributes to the interfaces functions - externally_visible: avoid gcc to remove the function when lto is enabled - visibility("default"): default == public... Allow to hide all others symbols: see http://gcc.gnu.org/wiki/Visibility for details onepad: * Remove __cplusplus define, everythings is in C * define 2 interfaces functions with EXPORT_C_ instead of CALLBACK. cmake: * add recent added .h files * add fvisibility optimization. Plugins size was reduced of ~10% much more than expected :) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3611 96395faa-99c1-11dd-bbfe-3dabce05a288