summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/metadata.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/metadata.cc b/src/metadata.cc
index 7d663eb2..7e900e50 100644
--- a/src/metadata.cc
+++ b/src/metadata.cc
@@ -21,6 +21,7 @@
* @brief Metadata for writing to the DCP.
*/
+#include <time.h>
#include "metadata.h"
using namespace std;
@@ -36,18 +37,12 @@ Metadata::Metadata ()
, issuer ("libdcp" LIBDCP_VERSION)
, creator ("libdcp" LIBDCP_VERSION)
{
-#ifdef LIBDCP_POSIX
char buffer[64];
time_t now;
time (&now);
struct tm* tm = localtime (&now);
strftime (buffer, 64, "%Y-%m-%dT%I:%M:%S+00:00", tm);
issue_date = string (buffer);
-#endif
-
-#ifdef LIBDCP_WINDOWS
- /* XXX */
-#endif
}
/** @return Singleton Metadata instance */