From 55162445db4c8ea46be671c2abed4ad4e77e1dcd Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 31 Jan 2010 00:36:02 +0000 Subject: Add Windows frontend svn path=/trunk/netsurf/; revision=9940 --- utils/utils.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'utils/utils.c') diff --git a/utils/utils.c b/utils/utils.c index c8cfcb410..175b33073 100644 --- a/utils/utils.c +++ b/utils/utils.c @@ -463,3 +463,17 @@ char *strchrnul (const char *s, int c_in) } #endif + +#ifndef HAVE_UTSNAME +#include "utils/utsname.h" + +int uname(struct utsname *buf) { + strcpy(buf->sysname,"windows"); + strcpy(buf->nodename,"nodename"); + strcpy(buf->release,"release"); + strcpy(buf->version,"version"); + strcpy(buf->machine,"pc"); + + return 0; +} +#endif -- cgit v1.2.3