Try to fix incorrect non-Latin handling on Win32 filenames.
[libdcp.git] / asdcplib / src / KM_util.h
index c3e5af8758759b64760b1a041394a0b674a3a436..a9793ba02a1c0f9d41e91341a50c8ec2b6000504 100755 (executable)
@@ -41,6 +41,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 namespace Kumu
 {
+  extern bool libdcp_test;
+       
   // The version number declaration and explanation are in ../configure.ac
   const char* Version();
 
@@ -379,6 +381,9 @@ namespace Kumu
   
   void GenRandomUUID(byte_t* buf); // buf must be UUID_Length or longer
   void GenRandomValue(UUID&);
+#ifdef LIBDCP_POSIX    
+  void ResetTestRNG();
+#endif 
   
   typedef ArchivableList<UUID> UUIDList;
 
@@ -527,7 +532,7 @@ namespace Kumu
       }
     };
 
-  inline void hexdump(const ByteString& buf, FILE* stream = 0) {
+  inline void hexdump(const ByteString& buf, FILE*) {
     hexdump(buf.RoData(), buf.Length());
   }