[gnome-sudoku/gnome-3-20] Really don't use C++ 11 for gnome-3-20
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku/gnome-3-20] Really don't use C++ 11 for gnome-3-20
- Date: Wed, 13 Jul 2016 22:30:26 +0000 (UTC)
commit 05f922ccd2096b90db558ceef72c184f008183f6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Jul 13 17:26:50 2016 -0500
Really don't use C++ 11 for gnome-3-20
This was a mistake.
It's causing build errors for Mageia, and I have no clue why it works
for me.
lib/qqwing-wrapper.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/qqwing-wrapper.cpp b/lib/qqwing-wrapper.cpp
index d0eb059..1976114 100644
--- a/lib/qqwing-wrapper.cpp
+++ b/lib/qqwing-wrapper.cpp
@@ -47,7 +47,7 @@ int* qqwing_generate_puzzle(int difficulty)
g_mutex_lock(&mutex);
if (!seeded)
{
- srand(time(nullptr));
+ srand(time(NULL));
seeded = true;
}
g_mutex_unlock(&mutex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]