platform.rb: Added prefix and suffix for cygwin.

The prefix is "cyg" and the suffix ".dll".
Sometimes the prefix should be "../bin/cyg", but ...

Signed-off-by: Wayne Meissner <wmeissner@gmail.com>
Added i386-cygwin/types.conf.

Just size_t, ptrdiff_t and ssize_t.

Signed-off-by: Wayne Meissner <wmeissner@gmail.com>
spec: Test absolute library path.

Signed-off-by: Wayne Meissner <wmeissner@gmail.com>
DynamicLibrary.c: Avoid win32 APIs on cygwin.

Signed-off-by: Wayne Meissner <wmeissner@gmail.com>
DynamicLibrary.c: Avoiding dlsym(dlopen(0,0), sym)

Signed-off-by: Wayne Meissner <wmeissner@gmail.com>
spec: Replace absolute_.. with expand_path.

File.absolute_path isn't available in ruby 1.8.7.

Signed-off-by: Wayne Meissner <wmeissner@gmail.com>