"PC shipment growth in the second quarter of 2018 was driven by demand in the business market, which was offset by declining shipments in the consumer segment," said Mikako Kitagawa, analyst at Gartner.

"In the consumer space, the fundamental market structure, due to changes on PC user behavior, still remains, and continues to impact market growth. Consumers are using their smartphones for even more daily tasks, such as checking social media, calendaring, banking and shopping, which is reducing the need for a consumer PC."

The analyst said the PC market might falter in the next 2 years when the replacement peak for Windows 10 passes.

The report said China's Lenovo and US-based HP were in a virtual tie for the number one spot in the PC market, each with a 21.9 percent share, followed by Dell with 16.8 percent and Apple with 7.1 percent.