Make it (almost) compile for windows

This commit is contained in:
Sfan5
2014-03-09 12:32:13 +01:00
parent b2896331cd
commit 46023f77f5
5 changed files with 16 additions and 18 deletions

6
db.h
View File

@ -1,12 +1,14 @@
#ifndef _DB_H
#define _DB_H
#include <cstdint>
#include <stdint.h>
#include <vector>
#include <list>
#include <string>
#include <utility>
typedef std::pair<int64_t, std::basic_string<unsigned char>> DBBlock;
// we cannot use ... char>> here because mingw-gcc is f**king retarded (caring about whitespace and shit)
typedef std::pair<int64_t, std::basic_string<unsigned char> > DBBlock;
typedef std::list<DBBlock> DBBlockList;
class DB {