Adjust sourcize.c to use _snprintf if using MSVC.
[SquirrelJME.git] / nanocoat / cmake / trySNPrintF.c
blobd830104991733702d459a660c81024fb5c9cc0b1
1 /* -*- Mode: C; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // -------------------------------------------------------------------------*/
10 #include <stdio.h>
12 int main(int argc, char** argv)
14 char buf[256];
15 snprintf(buf, 256, "Squeak!");
16 return 0;