Temporarily removing menuetlibc

git-svn-id: svn://kolibrios.org@4799 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
right-hearted
2014-04-08 16:39:46 +00:00
parent c62aaa70ed
commit b22b1101b6
1730 changed files with 0 additions and 316209 deletions

View File

@@ -1,17 +0,0 @@
#ifndef _ALGORITHM_INCLUDED
#define _ALGORITHM_INCLUDED
#include <vector>
#include <stdlib.h>
namespace std
{
static bool (*__cmpfn)(const void* elem1, const void* elem2);
static int __compare(const void* elem1, const void* elem2)
{return __cmpfn(elem1,elem2)?-1:1;}
template<class T, class Pred>
void sort(T* first, T* last, Pred pr)
{
__cmpfn=(bool(*)(const void*,const void*))pr;
qsort(first,last-first,sizeof(*first),&__compare);
}
}
#endif