diff --git a/src/worldfactory.cpp b/src/worldfactory.cpp index a249f7f384ac8..9f446add647ed 100644 --- a/src/worldfactory.cpp +++ b/src/worldfactory.cpp @@ -1989,13 +1989,13 @@ bool worldfactory::valid_worldname( const std::string &name, bool automated ) co bool WORLD::create_timestamp() { -#if defined( TIME_UTC ) && !defined( MACOSX ) +#if defined( TIME_UTC ) && !defined( MACOSX ) && !defined(__ANDROID__) std::timespec t; if( std::timespec_get( &t, TIME_UTC ) != TIME_UTC ) { return false; } #else - // MinGW-w64 with pthread, MacOS, etc + // MinGW-w64 with pthread, MacOS, Android, etc timespec t; if( clock_gettime( CLOCK_REALTIME, &t ) != 0 ) { return false;