Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 452 Bytes
// g++ -shared -o kitty.dll kitty_dll.res.o ../../kitty_dll.c -Wl,--whole-archive ../../base64.a -Wl,--no-whole-archive -DBUILD_DLL -static-libgcc
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#ifdef BUILD_DLL
#define LINKDLL extern "C" __declspec(dllimport)
#else
#define LINKDLL
#endif
extern "C" const char * get_param_str( const char * val ) {
if( !stricmp( val, "CLASS" ) ) return "KiTTY" ;
return NULL ;
}
You can’t perform that action at this time.