1 #if defined(__linux__) || defined(__MINT__) 2 # define _GNU_SOURCE /* strptime(), getsubopt() */ 3 #endif 4 5 #include <time.h> 6 7 int 8 main(int argc, char **argv) 9 { 10 struct tm tm; 11 strptime(*argv, "%D", &tm); 12 return 0; 13 } 14