[Github-comments] [geany/geany] Preventing destroying of symbolic/hard links in Windows OS. (#1270)

Matthew Brush notifications at xxxxx
Sat Oct 22 00:07:22 UTC 2016


codebrainz commented on this pull request.



> @@ -1934,7 +1934,12 @@ static gchar *write_data_to_disk(const gchar *locale_filename,
 		if (g_file_set_contents(locale_filename, data, len, &error))
 			geany_debug("Wrote %s with g_file_set_contents().", locale_filename);
 	}
-	else if (USE_GIO_FILE_OPERATIONS)
+	#if defined(_WIN32)
+	#elif defined(_WIN64)
+	#elif defined(__CYGWIN__)
+	#elif defined(__MSYS__)

I think `_WIN32` is enough to cover all of the above. GLib has one defined though already, it's called `G_OS_WIN32`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1270#pullrequestreview-5337512
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161021/1093457f/attachment.html>


More information about the Github-comments mailing list