GNOME Bugzilla – Bug 344071
Some open() calls use flags not available on Windows
Last modified: 2006-06-08 00:05:57 UTC
There are some parts (e.g. avilib.c in vid_enc_avi) of GAP which use open() calls with flags like S_IRGRP and S_IROTH. These do not exist on Windows. There is g_open, but as it take the same flags, I'm not sure if using it will help. Seems like conditionals like #ifdef G_OS_WIN32 are needed here.
This might fix it. But I am not sure, there might be includes missing. 2006-06-07 Sven Neumann <sven@gimp.org> * gap/gap_player_dialog.c: use g_open(). * vid_enc_avi/avilib.c: use g_open(); define flags used with open() in case they are undefined (bug #344071).
Builds now.