travis: update
[m6w6/ext-psi] / tests / idn / idn.psi
index 77afbc7fbe35277dfec5bf07804289eea918102e..a9e9ba8bbb8d9d75345058c48bb7b448e8a168ba 100644 (file)
@@ -1,7 +1,10 @@
-// libidn
-lib "idn";
+#ifdef __linux__
+#pragma lib "crypt"
+#endif
 
 #include <stdlib.h>
+
+#pragma lib "idn"
 #include <idna.h>
 
 function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int {