Author: abrander
Date: 2013-03-30 18:29:03 +0100 (Sat, 30 Mar 2013)
New Revision: 4339
Modified:
trunk/librawstudio/rs-utils.c
Log:
Added a few messages for future porters.
Modified: trunk/librawstudio/rs-utils.c
===================================================================
--- trunk/librawstudio/rs-utils.c 2013-03-30 17:01:47 UTC (rev 4338)
+++ trunk/librawstudio/rs-utils.c 2013-03-30 17:29:03 UTC (rev 4339)
@@ -83,6 +83,8 @@
#ifndef WIN32 /* There is no strptime() in time.h in MinGW */
if (strptime(str, "%Y:%m:%d %H:%M:%S", tm))
timestamp = (GTime) mktime(tm);
+#else
+ #warning rs_exiftime_to_unixtime() must be ported to WIN32
#endif
g_free(tm);
@@ -185,6 +187,8 @@
#elif defined(_WIN32)
/* Use pthread on windows */
temp_num = pthread_num_processors_np();
+#else
+ #error This needs porting
#endif
/* Be sure we have at least 1 processor and as sanity check,
clamp to no more than 127 */
temp_num = (temp_num <= 0) ? 1 : MIN(temp_num, 127);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit