Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
msvc: disable warning on strcpy()
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Jun 17, 2014
1 parent cae09bf commit 476d5ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SStream.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
#include "SStream.h"
#include "cs_priv.h"

#ifdef _MSC_VER
#pragma warning(disable: 4996) // disable MSVC's warning on strcpy()
#endif

void SStream_Init(SStream *ss)
{
ss->index = 0;
Expand Down

0 comments on commit 476d5ad

Please sign in to comment.