1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Jucer VC6 support + misc VC6 compatibility hacks.

This commit is contained in:
Julian Storer 2010-03-17 14:46:03 +00:00
parent d9d1c4c995
commit d7108bb5ba
25 changed files with 966 additions and 523 deletions

View file

@ -8,12 +8,12 @@
#include "BinaryData.h"
const char* BinaryData::getNamedResource (const wchar_t* resourceName, int& numBytes) throw()
const char* BinaryData::getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
{
int hash = 0;
if (resourceName != 0)
while (*resourceName != 0)
hash = 31 * hash + *resourceName++;
if (resourceNameUTF8 != 0)
while (*resourceNameUTF8 != 0)
hash = 31 * hash + *resourceNameUTF8++;
switch (hash)
{