Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 319 Bytes
//
// UKRandomInteger.m
// Propaganda
//
// Created by Uli Kusterer on 25.04.10.
// Copyright 2010 The Void Software. All rights reserved.
//
#import "UKRandomInteger.h"
NSInteger UKRandomInteger( void )
{
#if __LP64__
return (((NSInteger)rand()) | ((NSInteger)rand()) << 32);
#else
return rand();
#endif
}