about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/video/yuview/disable_version_check.patch
blob: c13cb9e9b5bdd1f379833dc5dc890dda07b7ea56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/YUViewLib/src/common/Typedef.h b/YUViewLib/src/common/Typedef.h
--- a/YUViewLib/src/common/Typedef.h
+++ b/YUViewLib/src/common/Typedef.h
@@ -212,12 +212,7 @@ private:
 #define YUVIEW_VERSION "Unknown"
 #endif
 
-#ifndef YUVIEW_HASH
 #define VERSION_CHECK 0
-#define YUVIEW_HASH 0
-#else
-#define VERSION_CHECK 1
-#endif
 
 #define MAX_RECENT_FILES 10