Mercurial > projects > ldc
comparison lphobos/std/random.d @ 662:88e23f8c2354
Applied downs' latest Phobos patch
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 06 Oct 2008 21:40:33 +0200 |
parents | 373489eeaf90 |
children |
comparison
equal
deleted
inserted
replaced
661:99f32e967746 | 662:88e23f8c2354 |
---|---|
14 | 14 |
15 module std.random; | 15 module std.random; |
16 | 16 |
17 // Segments of the code in this file Copyright (c) 1997 by Rick Booth | 17 // Segments of the code in this file Copyright (c) 1997 by Rick Booth |
18 // From "Inner Loops" by Rick Booth, Addison-Wesley | 18 // From "Inner Loops" by Rick Booth, Addison-Wesley |
19 | |
20 version(linux) version = Unix; | |
19 | 21 |
20 version (Win32) | 22 version (Win32) |
21 { | 23 { |
22 extern(Windows) int QueryPerformanceCounter(ulong *count); | 24 extern(Windows) int QueryPerformanceCounter(ulong *count); |
23 } | 25 } |