Skip to content

Commit 78ca6d7

Browse files
committed
1.add macro for unistd.h 2.change encoder output path
1 parent d2aa683 commit 78ca6d7

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44

55
.DS_Store
66
.vscode
7+
JC1_SDK_SRC_FLP/build/win32/.vs/

JC1_SDK_SRC_FLP/build/win32/JC1Encoder/JC1Encoder.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<PropertyGroup Label="UserMacros" />
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
4747
<LinkIncremental>true</LinkIncremental>
48-
<OutDir>F:\Codec\JC1Codec\JC1Codec_SDK\JC1_SDK_SRC_1.0\JC1_SDK_SRC_FLP\bin\</OutDir>
48+
<OutDir>..\..\..\bin</OutDir>
4949
</PropertyGroup>
5050
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
5151
<LinkIncremental>false</LinkIncremental>

JC1_SDK_SRC_FLP/test/enc_main.c

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#include <stdio.h>
22
#include <stdlib.h>
33
#include <string.h>
4-
#include <unistd.h>
5-
64
#include "AGR_JC1_SDK_API.h"
75

6+
/*use on linux/android*/
7+
#ifndef _WIN32
8+
#include <unistd.h>
9+
#endif
10+
811

912
#pragma comment(lib,"libSATECodec_FLP.lib")
1013
#pragma comment(lib,"libBWE.lib")

0 commit comments

Comments
 (0)