#include exe_func () { puts ("exe_func () called ;-)"); } void main () { #ifdef PLUGINS_ENABLED puts ("calling lib_func from test.exe..."); lib_func (); #endif }