]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/tokyo/alien/tcrdb/tcrdb.factor
factor: more top level forms.
[factor.git] / extra / tokyo / alien / tcrdb / tcrdb.factor
index fce11ac660f26ec06c57eff4a29cedb4aa9bf4a8..322fd91456112e811c2d410dd48463f0e6e2be6e 100644 (file)
@@ -4,11 +4,9 @@ USING: alien alien.c-types alien.libraries alien.syntax
 combinators system tokyo.alien.tcutil tokyo.alien.tctdb ;
 IN: tokyo.alien.tcrdb
 
-<< "tokyotyrant" {
-    { [ os macosx? ] [ "libtokyotyrant.dylib" ] }
-    { [ os unix? ] [ "libtokyotyrant.so" ] }
-    { [ os windows? ] [ "tokyotyrant.dll" ] }
-} cond cdecl add-library >>
+LIBRARY-UNIX: tokyotyrant cdecl "libtokyotyrant.so"
+LIBRARY-MACOSX: tokyotyrant cdecl "libtokyotyrant.dylib"
+LIBRARY-WINDOWS: tokyotyrant cdecl "libtokyotyrant.dll"
 
 LIBRARY: tokyotyrant