aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacketVideo CM <engbuild@pv.com>2010-06-15 16:36:04 -0700
committerPacketVideo CM <engbuild@pv.com>2010-06-15 16:36:04 -0700
commit513307753e889041d05e8d28e7439186edbf0a8e (patch)
tree3c846858c3ee03f3663b7c9074c601c1e43c8d06
parent1a4680fc6fed7c3140a80da41ee462f57b48513c (diff)
downloadopencore-513307753e889041d05e8d28e7439186edbf0a8e.tar.gz
RIO-9282: Update OSCL mcp files for ADS build. (minor additional change 2)
Change-Id: I42638ccec32918bf037b40481eaf7ac65f0ee3fb
-rw-r--r--engines/2way/src/pv_2way_sdkinfo.h2
-rw-r--r--engines/author/src/pv_author_sdkinfo.h2
-rw-r--r--engines/player/src/pv_player_sdkinfo.h2
-rw-r--r--oscl/oscl/osclio/src/oscl_file_native.cpp4
4 files changed, 3 insertions, 7 deletions
diff --git a/engines/2way/src/pv_2way_sdkinfo.h b/engines/2way/src/pv_2way_sdkinfo.h
index 5423c0f5c..520b3867f 100644
--- a/engines/2way/src/pv_2way_sdkinfo.h
+++ b/engines/2way/src/pv_2way_sdkinfo.h
@@ -21,7 +21,7 @@
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PV2WAY_ENGINE_SDKINFO_LABEL "1484541"
+#define PV2WAY_ENGINE_SDKINFO_LABEL "1485601"
#define PV2WAY_ENGINE_SDKINFO_DATE 0x20100608
#endif //PV_2WAY_SDKINFO_H_INCLUDED
diff --git a/engines/author/src/pv_author_sdkinfo.h b/engines/author/src/pv_author_sdkinfo.h
index 859a8f147..1baed9d3b 100644
--- a/engines/author/src/pv_author_sdkinfo.h
+++ b/engines/author/src/pv_author_sdkinfo.h
@@ -21,7 +21,7 @@
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1484541"
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1485601"
#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20100608
#endif //PV_AUTHOR_SDKINFO_H_INCLUDED
diff --git a/engines/player/src/pv_player_sdkinfo.h b/engines/player/src/pv_player_sdkinfo.h
index 0f01b286f..94d1cd80e 100644
--- a/engines/player/src/pv_player_sdkinfo.h
+++ b/engines/player/src/pv_player_sdkinfo.h
@@ -21,7 +21,7 @@
// This header file is automatically generated at build-time
// *** OFFICIAL RELEASE INFO -- Will not auto update
-#define PVPLAYER_ENGINE_SDKINFO_LABEL "1484541"
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "1485601"
#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20100608
#endif //PV_PLAYER_SDKINFO_H_INCLUDED
diff --git a/oscl/oscl/osclio/src/oscl_file_native.cpp b/oscl/oscl/osclio/src/oscl_file_native.cpp
index 1fd57cbd9..36c78f966 100644
--- a/oscl/oscl/osclio/src/oscl_file_native.cpp
+++ b/oscl/oscl/osclio/src/oscl_file_native.cpp
@@ -646,16 +646,12 @@ int32 OsclNativeFile::Seek(TOsclFileOffset offset, Oscl_File::seek_type origin)
int32 OsclNativeFile::SetSize(uint32 size)
{
-#if (OSCL_FOR_ADS)
- return -1; //not supported
-#else
// unix leaves file position unchanged
int32 fd = fileno(iFile);
if (-1 != fd)
{
return ftruncate(fd, size);
}
-#endif
return -1;
}