Commit 346ba619 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

qt4: do not build windows registry code when not compiling for windows

parent 5796854f
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
# include "config.h" # include "config.h"
#endif #endif
#ifdef WIN32
#include "registry.hpp" #include "registry.hpp"
QVLCRegistry::QVLCRegistry( HKEY rootKey ) QVLCRegistry::QVLCRegistry( HKEY rootKey )
...@@ -185,3 +187,4 @@ double QVLCRegistry::ReadRegistryDouble( char *path, char *valueName, double def ...@@ -185,3 +187,4 @@ double QVLCRegistry::ReadRegistryDouble( char *path, char *valueName, double def
return default_value; return default_value;
} }
#endif /* WIN32 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment